diff options
author | George Paraskevopoulos <geopar@intracom-telecom.com> | 2016-09-14 15:32:02 +0300 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-09-14 13:27:33 +0000 |
commit | 0220707db3a8bdb0360e4b2bb319381a3b0886bf (patch) | |
tree | 73874cd6562fab086dccf5b922c5d752808b6965 /testcases/features/sfc | |
parent | bb2a2249ec50f050d5b23ef88e98c343fb6f790f (diff) |
Add delay after SF floating IP assignment
JIRA: https://jira.opnfv.org/browse/SFC-48
The assignment of floating IPs to service functions needs some time
to complete, otherwise we get ssh failures
Change-Id: Ia3e789be95d20801ee2c741a473d407e936f4fb6
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
(cherry picked from commit a684becbcffc993322209b525a64f10ee10d7ab5)
Diffstat (limited to 'testcases/features/sfc')
-rwxr-xr-x | testcases/features/sfc/sfc.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testcases/features/sfc/sfc.py b/testcases/features/sfc/sfc.py index 8aa7bb9a0..c73d8b230 100755 --- a/testcases/features/sfc/sfc.py +++ b/testcases/features/sfc/sfc.py @@ -263,6 +263,11 @@ def main(): logger.error('Failed to obtain IPs, cant continue, exiting') return + logger.info("Waiting 60 seconds for floating IP assignment") + for j in range(0, 6): + logger.debug("Test starting in {0} seconds".format(str((6 - j) * 10))) + time.sleep(10) + logger.debug("Floating IPs for SFs: %s..." % ips) # SSH TO START THE VXLAN_TOOL ON SF1 @@ -325,11 +330,6 @@ def main(): shell=True, stdout=subprocess.PIPE) - logger.info("Waiting for 60 seconds before TEST") - for j in range(0, 6): - logger.info("Test starting in {0} seconds".format(str((6 - j) * 10))) - time.sleep(10) - i = 0 # SSH TO EXECUTE cmd_client |