diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-06-08 16:56:22 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-06-09 09:36:11 -0400 |
| commit | b2e37a56f60455c0bf935f26309ae596ef5ee34f (patch) | |
| tree | 959755e7da8a94b43239d0a1f62cb7772efee0ce | |
| parent | 30b82c7af79fc167c39c1063c4e269c29e108fe4 (diff) | |
tests: Clarify what test_pim_dr_nondr_with_static_routes_topo1.py is doing
There are a couple steps listing what is being done that are both inprecise
and missleading. Fix to actually say what is going on.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
| -rwxr-xr-x | tests/topotests/multicast_pim_dr_nondr_test/test_pim_dr_nondr_with_static_routes_topo1.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/topotests/multicast_pim_dr_nondr_test/test_pim_dr_nondr_with_static_routes_topo1.py b/tests/topotests/multicast_pim_dr_nondr_test/test_pim_dr_nondr_with_static_routes_topo1.py index afc91dd7ac..4d17da5f61 100755 --- a/tests/topotests/multicast_pim_dr_nondr_test/test_pim_dr_nondr_with_static_routes_topo1.py +++ b/tests/topotests/multicast_pim_dr_nondr_test/test_pim_dr_nondr_with_static_routes_topo1.py @@ -720,7 +720,7 @@ def test_pim_source_dr_functionality_while_rebooting_dr_non_dr_nodes_p1(request) assert result is True, "Testcase {} : Failed Error: {}".format(tc_name, result) step( - "R2 is transit router for R3 to reach R4, mroute should have (s, g) mroute with " + "R2 is transit router for I1 to reach R4, mroute should have (s, g) mroute with " "OIL towards R4, using 'show ip mroute json'" ) step( @@ -787,7 +787,9 @@ def test_pim_source_dr_functionality_while_rebooting_dr_non_dr_nodes_p1(request) step("Reboot R3 node") stop_router(tgen, "r3") - step("After reboot of R3 verify R1 became DR, using 'show ip pim interface json'") + step( + "After reboot of R3 verify R1 continues to be DR, using 'show ip pim interface json'" + ) result = verify_pim_config(tgen, input_dict_dr) assert result is True, "Testcase {} : Failed Error: {}".format(tc_name, result) @@ -834,7 +836,9 @@ def test_pim_source_dr_functionality_while_rebooting_dr_non_dr_nodes_p1(request) step("Reboot R2 node") stop_router(tgen, "r2") - step("After reboot of R2, R1 became DR verify using 'show ip pim interface json'") + step( + "After reboot of R2, R1 continues to be DR verify using 'show ip pim interface json'" + ) result = verify_pim_config(tgen, input_dict_dr) assert result is True, "Testcase {} : Failed Error: {}".format(tc_name, result) @@ -843,9 +847,9 @@ def test_pim_source_dr_functionality_while_rebooting_dr_non_dr_nodes_p1(request) "R3 and R2 should not have any mroute and upstream , verify using " "'show ip mroute json' 'show ip pim upstream json'" ) - step("R1 has mroute created with OIL towards R4 , using 'show ip mroute json'") + step("R1 has mroute created with empty OIL, using 'show ip mroute json'") step( - "R1 has upstream with Join Rej Prune , verify using 'show ip pim upstream json'" + "R1 has upstream with Not Join, Rej Prune , verify using 'show ip pim upstream json'" ) for data in input_dict_r1_r2: |
