summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-06-09 18:27:57 +0900
committerLennart Poettering <lennart@poettering.net>2020-06-09 17:19:22 +0200
commit60b316b1e969d3e1e54970184102bf30dda53b25 (patch)
treea1d5b3c7bea6e8671ce8108b112245ef3eba1272
parent69876f94abc3f5861e87ad287b8d1f6770c6fdce (diff)
downloadsystemd-60b316b1e969d3e1e54970184102bf30dda53b25.tar.gz
test-network: wait 2min for the bridge being in configured state
On some CIs, it may takes more than 40 seconds. Hopefully fixes #16105.
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index 5d08a7584c..66dc46a6b4 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -2797,7 +2797,8 @@ class NetworkdBridgeTests(unittest.TestCase, Utilities):
with self.subTest(test=test):
if test == 'no-slave':
# bridge has no slaves; it's up but *might* not have carrier
- self.wait_online(['bridge99:no-carrier'])
+ # It may take very long time that the interface become configured state.
+ self.wait_online(['bridge99:no-carrier'], timeout='2m')
# due to a bug in the kernel, newly-created bridges are brought up
# *with* carrier, unless they have had any setting changed; e.g.
# their mac set, priority set, etc. Then, they will lose carrier