]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/test-network/systemd-networkd-tests.py
test-network: wait for addresses are not in tentative state
[thirdparty/systemd.git] / test / test-network / systemd-networkd-tests.py
index 31ef04af8a48d146272014f97890d189aadb531b..2d7f915850ed7880530652429526b4ac5b055f86 100755 (executable)
@@ -557,7 +557,7 @@ class Utilities():
             if i > 0:
                 time.sleep(1)
             output = check_output(f'ip {ipv} address show dev {link} scope {scope}')
-            if re.search(address_regex, output):
+            if re.search(address_regex, output) and 'tentative' not in output:
                 break
         else:
             self.assertRegex(output, address_regex)