Skip to content

Commit

Permalink
Update attempt to max value as 50 as 30 is not sufficient (#26)
Browse files Browse the repository at this point in the history
* Update defs.py

* Update setup.cfg

* Update defs.py
  • Loading branch information
ashwini-mhatre authored Apr 3, 2024
1 parent d1a3193 commit cbb1a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytest_ansible_network_integration/defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def get_dhcp_lease(self, current_lab_id: str) -> str:

ips = [leases[mac] for mac in macs if mac in leases]
attempt += 1
if attempt == 30:
if attempt == 50:
raise PytestNetworkError("Could not find IPs")
time.sleep(10)

Expand Down

0 comments on commit cbb1a14

Please sign in to comment.