summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/long_lived_graceful_restart_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/scenario_test/long_lived_graceful_restart_test.py')
-rw-r--r--test/scenario_test/long_lived_graceful_restart_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/scenario_test/long_lived_graceful_restart_test.py b/test/scenario_test/long_lived_graceful_restart_test.py
index a9f6a0ee..0a42afab 100644
--- a/test/scenario_test/long_lived_graceful_restart_test.py
+++ b/test/scenario_test/long_lived_graceful_restart_test.py
@@ -110,8 +110,7 @@ class GoBGPTestBase(unittest.TestCase):
# withdrawn
self.assertTrue(len(g4.get_global_rib('10.0.0.0/24')) == 0)
- g2._start_gobgp(graceful_restart=True)
- time.sleep(2)
+ g2.start_gobgp(graceful_restart=True)
g2.local('gobgp global rib add 10.0.0.0/24')
g2.local('gobgp global rib add 10.10.0.0/24')