summaryrefslogtreecommitdiffstats
path: root/test/functest/testcase_1.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functest/testcase_1.py')
-rw-r--r--test/functest/testcase_1.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functest/testcase_1.py b/test/functest/testcase_1.py
index ad1e121..aa9bc92 100644
--- a/test/functest/testcase_1.py
+++ b/test/functest/testcase_1.py
@@ -11,7 +11,6 @@
import argparse
import os
from random import randint
-import time
import functest.utils.functest_logger as ft_logger
import functest.utils.functest_utils as ft_utils
@@ -251,7 +250,7 @@ def main():
logger.info("Waiting for the VMs to connect to each other using the"
" updated network configuration")
- time.sleep(30)
+ test_utils.wait_before_subtest()
# Ping from VM4 to VM5 should work
results.get_ping_status(vm_4, vm_4_ip, vm_5, vm_5_ip,
@@ -272,9 +271,10 @@ def main():
"export_targets": TARGETS_1,
"name": vpn_name}
bgpvpn = os_utils.update_bgpvpn(neutron_client, bgpvpn_id, **kwargs)
+
logger.info("Waiting for the VMs to connect to each other using the"
" updated network configuration")
- time.sleep(30)
+ test_utils.wait_before_subtest()
# Ping from VM1 to VM4 should work
results.get_ping_status(vm_1, vm_1_ip, vm_4, vm_4_ip,