aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/features/sfc
diff options
context:
space:
mode:
authorManuel Buil <manuel.buil@ericsson.com>2016-08-11 16:39:08 +0200
committerManuel Buil <manuel.buil@ericsson.com>2016-08-11 16:39:08 +0200
commit29f54066adb9feb8b6a10eb4226416d98d55d89f (patch)
tree7369509f18f6ea4340f42cd49bdb01f68765bc59 /testcases/features/sfc
parentfe1cdb02640ddf9baae6d09a949a4648264dd482 (diff)
Bug fix to eliminate undeterministic behaviour
When changing the classifier, ODL needs some seconds to update the switches and sometimes they are not changed when the script executes the second part of the test ==> test fails Change-Id: I1fa3306eb7b283d708dbd736d2365456559db9b9 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
Diffstat (limited to 'testcases/features/sfc')
-rwxr-xr-xtestcases/features/sfc/sfc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testcases/features/sfc/sfc.py b/testcases/features/sfc/sfc.py
index 17ab386f..bdd27905 100755
--- a/testcases/features/sfc/sfc.py
+++ b/testcases/features/sfc/sfc.py
@@ -349,6 +349,9 @@ def main():
TACKER_CHANGECLASSI
subprocess.call(tacker_classi, shell=True)
+ logger.info("Wait for ODL to update the classification rules in OVS")
+ time.sleep(10)
+
# SSH to modify the classification flows in compute
contr_cmd4 = ("sshpass -p r00tme ssh " + ssh_options + " root@10.20.0.2"