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.py4
1 files changed, 2 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 bba633ed..a9f6a0ee 100644
--- a/test/scenario_test/long_lived_graceful_restart_test.py
+++ b/test/scenario_test/long_lived_graceful_restart_test.py
@@ -88,7 +88,7 @@ class GoBGPTestBase(unittest.TestCase):
time.sleep(1)
- g2.graceful_restart()
+ g2.stop_gobgp()
g1.wait_for(expected_state=BGP_FSM_ACTIVE, peer=g2)
time.sleep(1)
@@ -140,7 +140,7 @@ class GoBGPTestBase(unittest.TestCase):
self.assertTrue(len(rib) == 1)
self.assertTrue(g2.asn in rib[0]['paths'][0]['aspath'])
- g2.graceful_restart()
+ g2.stop_gobgp()
g1.wait_for(expected_state=BGP_FSM_ACTIVE, peer=g2)
time.sleep(1)