From 0d7c60bf7446da17babeeec96e12503ec852f47e Mon Sep 17 00:00:00 2001 From: Pooja Jagadeesh Doijode Date: Tue, 4 Jun 2024 16:12:28 -0700 Subject: [PATCH] tests: Fixed test_BGP_GR_TC_5_1_2_p1 test case In this test case, on interface flap, test was expecting the peer to send R-bit = True, which is not right. So updated the test to expect R-bit to be false on interface flap Signed-off-by: Pooja Jagadeesh Doijode --- .../test_bgp_gr_functionality_topo1-1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/topotests/bgp_gr_functionality_topo1/test_bgp_gr_functionality_topo1-1.py b/tests/topotests/bgp_gr_functionality_topo1/test_bgp_gr_functionality_topo1-1.py index 5e2b2f37b234..b5c82989aae5 100644 --- a/tests/topotests/bgp_gr_functionality_topo1/test_bgp_gr_functionality_topo1-1.py +++ b/tests/topotests/bgp_gr_functionality_topo1/test_bgp_gr_functionality_topo1-1.py @@ -1202,7 +1202,7 @@ def test_BGP_GR_TC_5_1_2_p1(request): ) result = verify_r_bit(tgen, topo, addr_type, input_dict, dut="r1", peer="r2") - assert result is True, "Testcase {} : Failed \n Error {}".format( + assert result is not True, "Testcase {} : Failed \n Error {}".format( tc_name, result )