aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/features
diff options
context:
space:
mode:
authorManuel Buil <manuel.buil@ericsson.com>2016-11-11 13:17:13 +0100
committerManuel Buil <manuel.buil@ericsson.com>2016-11-11 13:17:39 +0100
commitcaa06d8d7b55a1c0608a72f809785d8f418cf541 (patch)
tree98fdc033d23e666e181e2f858308e35aab05c103 /functest/opnfv_tests/features
parent743c670d8bcc9eb72f7bc87b3f854c21d28afd55 (diff)
Bug fix in odl-sfc
The function that measures the time it takes to update OVS had a bug Change-Id: I1e480759c0c20197dd412f3400ea50921764d991 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
Diffstat (limited to 'functest/opnfv_tests/features')
-rwxr-xr-xfunctest/opnfv_tests/features/sfc/sfc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/opnfv_tests/features/sfc/sfc.py b/functest/opnfv_tests/features/sfc/sfc.py
index 5e3e37d7c..42fac5613 100755
--- a/functest/opnfv_tests/features/sfc/sfc.py
+++ b/functest/opnfv_tests/features/sfc/sfc.py
@@ -416,7 +416,7 @@ def capture_time_log(compute_clients):
if not i:
first_RSP = rsps[0]
i = i + 1
- if(first_RSP != rsps[0]):
+ if(first_RSP != rsps[0] and len(rsps) > 1):
if (rsps[0] == rsps[1]):
stop_time = time.time()
logger.info("classification rules updated")