tests: Don't generate support bundles when we get the results we want

We are generating support bundles for tests being run that
are passing.  Tell the system...

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2021-02-27 23:05:40 -05:00
parent 9dfe1acd2a
commit 17d1e8a386

View File

@ -1312,14 +1312,14 @@ def test_evpn_routes_from_VNFs_p1(request):
)
for addr_type in ADDR_TYPES:
input_routes = {key: topo["routers"][key] for key in ["r1"]}
result = verify_rib(tgen, addr_type, "d2", input_routes, expected=False)
result = verify_rib(tgen, addr_type, "d2", input_routes, expected=True)
assert result is True, "Testcase {} :Failed \n Error: {}".format(
tc_name, result
)
for addr_type in ADDR_TYPES:
input_routes = {key: topo["routers"][key] for key in ["r2"]}
result = verify_rib(tgen, addr_type, "d2", input_routes, expected=False)
result = verify_rib(tgen, addr_type, "d2", input_routes, expected=True)
assert result is True, "Testcase {} :Failed \n Error: {}".format(
tc_name, result
)