From: Yu Watanabe Date: Wed, 29 May 2019 03:07:36 +0000 (+0900) Subject: test-network: bump time limit for wait_address() X-Git-Tag: v243-rc1~350 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53c32c2b9baeb99c35ef66b76389a2d26c5fe648;p=thirdparty%2Fsystemd.git test-network: bump time limit for wait_address() Maximum time interval of DHCPv4 request is 63sec. So, setting 100sec is enough. --- diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index cd99e5787a5..35d239ebbc9 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)