We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a484a6 commit dbdeba2Copy full SHA for dbdeba2
test/scenario_test/long_lived_graceful_restart_test.py
@@ -269,6 +269,9 @@ def test_09_peer_disabled_during_graceful_restart(self):
269
g3.local("ip route del blackhole {}/32".format(g1.ip_addrs[0][1].split("/")[0]))
270
271
# wait for a reconnect attempt of g1 to g3
272
+ # g1 likely to be in active state before above blackhole is removed.
273
+ # once blackhole is removed, g1 tries to connect to g3 again then goes to idle state.
274
+ # because g3 has disabled. So g1's outgoing connection fails and goes to idle state.
275
g1.wait_for(expected_state=BGP_FSM_IDLE, peer=g3)
276
g1.wait_for(expected_state=BGP_FSM_ACTIVE, peer=g3)
277
0 commit comments