diff options
-rw-r--r-- | test/scenario_test/graceful_restart_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scenario_test/graceful_restart_test.py b/test/scenario_test/graceful_restart_test.py index 60e10437..b7462dbc 100644 --- a/test/scenario_test/graceful_restart_test.py +++ b/test/scenario_test/graceful_restart_test.py @@ -160,8 +160,8 @@ class GoBGPTestBase(unittest.TestCase): g1._start_gobgp(graceful_restart=True) count = 0 - while ((g1.get_neighbor_state(g2) != BGP_FSM_ESTABLISHED) - or (g1.get_neighbor_state(g3) != BGP_FSM_ESTABLISHED)): + while (g1.get_neighbor_state(g2) != BGP_FSM_ESTABLISHED + or g1.get_neighbor_state(g3) != BGP_FSM_ESTABLISHED): count += 1 # assert connections are not refused self.assertTrue(g1.get_neighbor_state(g2) != BGP_FSM_IDLE) |