aboutsummaryrefslogtreecommitdiffstats
path: root/functest
diff options
context:
space:
mode:
Diffstat (limited to 'functest')
-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 5e3e37d7..42fac561 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")