From 45194eff156234cea416b94d7988a1ccf8a891e6 Mon Sep 17 00:00:00 2001 From: Periyasamy Palanisamy Date: Mon, 19 Feb 2018 15:35:19 +0100 Subject: resync and ecmp testcase failure This provide fix for resync and ecmp test case failures at the CI master runs. Please have a look at the comments in each testcase for more details. Change-Id: I26c40da144e34a48ad44897988675db8d37c062a Signed-off-by: Periyasamy Palanisamy --- sdnvpn/test/functest/testcase_12.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sdnvpn/test/functest/testcase_12.py') diff --git a/sdnvpn/test/functest/testcase_12.py b/sdnvpn/test/functest/testcase_12.py index e6a7ac5..0916e9f 100644 --- a/sdnvpn/test/functest/testcase_12.py +++ b/sdnvpn/test/functest/testcase_12.py @@ -202,7 +202,9 @@ def record_test_result(expected_flow_count, actual_flow_count, " actual flow count %s" % (str(expected_flow_count), str(actual_flow_count))) results.add_to_summary(0, "-") - if expected_flow_count == actual_flow_count: + # Using <= for flow validation because ODL adds some more + # ARP/ICMP flows after VMs spawn up + if expected_flow_count <= actual_flow_count: results.add_success(msg) else: results.add_failure(msg) -- cgit 1.2.3-korg