Skip to content

Commit cbb1a14

Browse files
Update attempt to max value as 50 as 30 is not sufficient (#26)
* Update defs.py * Update setup.cfg * Update defs.py
1 parent d1a3193 commit cbb1a14

File tree

1 file changed

+1
-1
lines changed
  • src/pytest_ansible_network_integration

1 file changed

+1
-1
lines changed

src/pytest_ansible_network_integration/defs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def get_dhcp_lease(self, current_lab_id: str) -> str:
274274

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

0 commit comments

Comments
 (0)