From: Manuel Buil Date: Fri, 11 Nov 2016 12:17:13 +0000 (+0100) Subject: Bug fix in odl-sfc X-Git-Tag: danube.1.RC1~315 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F35%2F24235%2F1;p=functest.git 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 --- 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")