Skip to content

Commit 5efac74

Browse files
authored
Merge pull request FRRouting#20788 from donaldsharp/longer_hold_timer_bgp_gr_functionality
tests: Add additional wait tim to test_bgp_gr_functionality_topo2-3.py
2 parents 772a29c + a3e24c0 commit 5efac74

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/topotests/bgp_gr_functionality_topo2/test_bgp_gr_functionality_topo2-3.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,10 +1187,13 @@ def _verify_v6_eor_rcvd():
11871187
result = verify_rib(tgen, addr_type, dut, input_dict_1)
11881188
assert result is True, "Testcase {} :Failed \n Error {}".format(tc_name, result)
11891189

1190-
# Verifying BGP RIB routes
1190+
# Verifying BGP RIB routes (r2's 102.x via r1); use longer retry
1191+
# as r1->r6 propagation after GR can be delayed under load.
11911192
dut = "r6"
11921193
input_dict_2 = {key: topo["routers"][key] for key in ["r2"]}
1193-
result = verify_bgp_rib(tgen, addr_type, dut, input_dict_2)
1194+
result = verify_bgp_rib(
1195+
tgen, addr_type, dut, input_dict_2, retry_timeout=60
1196+
)
11941197
assert result is True, "Testcase {} :Failed \n Error {}".format(tc_name, result)
11951198

11961199
# Verifying RIB routes before shutting down BGPd daemon

0 commit comments

Comments
 (0)