diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-04-01 00:08:16 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-04-02 03:38:22 +0900 |
commit | c7f070bd4aa897ee9d278b2c6fed8a47fe761d40 (patch) | |
tree | 5f860f99318b1a852eb40a5618ee5089be6b399a /test/test-network/systemd-networkd-tests.py | |
parent | 2f9859baa8fd9ce36b66d8b36d6dbf9383114368 (diff) | |
download | systemd-c7f070bd4aa897ee9d278b2c6fed8a47fe761d40.tar.gz |
test-network: fix timeout argument for wait_online()
Diffstat (limited to 'test/test-network/systemd-networkd-tests.py')
-rwxr-xr-x | test/test-network/systemd-networkd-tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 4e4858507f..34cf388b0c 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -71,7 +71,6 @@ def expectedFailureIfRoutingPolicyIPProtoIsNotAvailable(): return f def setUpModule(): - os.makedirs(network_unit_file_path, exist_ok=True) os.makedirs(networkd_ci_path, exist_ok=True) @@ -187,7 +186,7 @@ class Utilities(): time.sleep(sleep_sec) def wait_online(self, links_with_operstate, timeout='20s'): - args = [wait_online_bin, f' --timeout={timeout}'] + [f'--interface={link}' for link in links_with_operstate] + args = [wait_online_bin, f'--timeout={timeout}'] + [f'--interface={link}' for link in links_with_operstate] subprocess.check_call(args) class NetworkdNetDevTests(unittest.TestCase, Utilities): |