diff options
author | Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com> | 2018-02-19 15:35:19 +0100 |
---|---|---|
committer | Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com> | 2018-02-19 15:35:19 +0100 |
commit | 45194eff156234cea416b94d7988a1ccf8a891e6 (patch) | |
tree | 32e4e30a5985c1ba9fc094a71e1acb3f246ee941 /sdnvpn/test/functest/testcase_12.py | |
parent | b7a8df9145600fbd12658ac829c813bd20455b95 (diff) |
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 <periyasamy.palanisamy@ericsson.com>
Diffstat (limited to 'sdnvpn/test/functest/testcase_12.py')
-rw-r--r-- | sdnvpn/test/functest/testcase_12.py | 4 |
1 files changed, 3 insertions, 1 deletions
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) |