Skip to content

Commit dbdeba2

Browse files
committed
test/scenario_test: clarify behaviors in llgr test
Just comment, no functional change. Signed-off-by: FUJITA Tomonori <[email protected]>
1 parent 6a484a6 commit dbdeba2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/scenario_test/long_lived_graceful_restart_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ def test_09_peer_disabled_during_graceful_restart(self):
269269
g3.local("ip route del blackhole {}/32".format(g1.ip_addrs[0][1].split("/")[0]))
270270

271271
# 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.
272275
g1.wait_for(expected_state=BGP_FSM_IDLE, peer=g3)
273276
g1.wait_for(expected_state=BGP_FSM_ACTIVE, peer=g3)
274277

0 commit comments

Comments
 (0)