summaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorManuel Buil <manuel.buil@ericsson.com>2016-11-11 13:17:13 +0100
committerGeorge Paraskevopoulos <geopar@intracom-telecom.com>2016-11-17 16:09:48 +0200
commit903ff93fc995c84f22a374df8f63ffd841b4e07f (patch)
tree5c4bc23d866d0ad11293d7cfd0f97b0b66086705 /testcases
parent5757ef49379bdefab7d9fbfe8f75bd4f580719f9 (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 'testcases')
-rwxr-xr-xtestcases/features/sfc/sfc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/features/sfc/sfc.py b/testcases/features/sfc/sfc.py
index 9de592851..0ba292d1b 100755
--- a/testcases/features/sfc/sfc.py
+++ b/testcases/features/sfc/sfc.py
@@ -417,7 +417,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")