summaryrefslogtreecommitdiff
path: root/test/test-network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-05-29 12:07:36 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-29 12:37:41 +0200
commit53c32c2b9baeb99c35ef66b76389a2d26c5fe648 (patch)
tree964b7920e1c9b436d6d9f0941282d01942e2325e /test/test-network
parent3987598ca0d30576b0682bb8dc2b392a58db8379 (diff)
downloadsystemd-53c32c2b9baeb99c35ef66b76389a2d26c5fe648.tar.gz
test-network: bump time limit for wait_address()
Maximum time interval of DHCPv4 request is 63sec. So, setting 100sec is enough.
Diffstat (limited to 'test/test-network')
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index cd99e5787a..35d239ebbc 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -228,7 +228,7 @@ class Utilities():
def check_operstate(self, link, expected, show_status=True, setup_state='configured'):
self.assertRegex(self.get_operstate(link, show_status, setup_state), expected)
- def wait_address(self, link, address_regex, scope='global', ipv='', timeout_sec=10):
+ def wait_address(self, link, address_regex, scope='global', ipv='', timeout_sec=100):
for i in range(timeout_sec):
if i > 0:
time.sleep(1)