From 903ff93fc995c84f22a374df8f63ffd841b4e07f Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Fri, 11 Nov 2016 13:17:13 +0100 Subject: 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 --- testcases/features/sfc/sfc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testcases') 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") -- cgit 1.2.3-korg