summaryrefslogtreecommitdiffstats
path: root/test/functest/testcase_2.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functest/testcase_2.py')
-rw-r--r--test/functest/testcase_2.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functest/testcase_2.py b/test/functest/testcase_2.py
index f6296be..dee70b4 100644
--- a/test/functest/testcase_2.py
+++ b/test/functest/testcase_2.py
@@ -12,7 +12,6 @@ import argparse
import os
from random import randint
import sys
-import time
import functest.utils.functest_logger as ft_logger
import functest.utils.functest_utils as ft_utils
@@ -260,7 +259,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()
# 10.10.10.12 should return sdnvpn-2 to sdnvpn-1
results.check_ssh_output(
@@ -295,7 +294,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()
# 10.10.11.13 should return sdnvpn-5 to sdnvpn-4
results.check_ssh_output(