diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2018-05-15 08:57:44 +0900 |
---|---|---|
committer | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2018-05-15 09:43:29 +0900 |
commit | 3fc524a5f5d810597757c63c51106819b520680f (patch) | |
tree | b649242a6fb86ee5f17b97d036074cbc61d3a054 /test/scenario_test/graceful_restart_test.py | |
parent | efd215d814f0fc686c5d1ea7256bef77ce3ee194 (diff) |
test/lib/gobgp: Rename graceful_restart() to stop_gobgp()
GoBGPContainer.graceful_restart() does not "restart" GoBGP daemon, but
just stops (kills) GoBGP daemon. Then this patch renames
graceful_restart() to stop_gobgp() to avoid confusion.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'test/scenario_test/graceful_restart_test.py')
-rw-r--r-- | test/scenario_test/graceful_restart_test.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/scenario_test/graceful_restart_test.py b/test/scenario_test/graceful_restart_test.py index b7462dbc..ac4130d2 100644 --- a/test/scenario_test/graceful_restart_test.py +++ b/test/scenario_test/graceful_restart_test.py @@ -69,7 +69,7 @@ class GoBGPTestBase(unittest.TestCase): def test_02_graceful_restart(self): g1 = self.bgpds['g1'] g2 = self.bgpds['g2'] - g1.graceful_restart() + g1.stop_gobgp() g2.wait_for(expected_state=BGP_FSM_ACTIVE, peer=g1) self.assertTrue(len(g2.get_global_rib('10.10.20.0/24')) == 1) self.assertTrue(len(g2.get_global_rib('10.10.10.0/24')) == 1) @@ -113,7 +113,7 @@ class GoBGPTestBase(unittest.TestCase): g1 = self.bgpds['g1'] g2 = self.bgpds['g2'] g3 = self.bgpds['g3'] - g1.graceful_restart() + g1.stop_gobgp() g2.wait_for(expected_state=BGP_FSM_ACTIVE, peer=g1) self.assertTrue(len(g2.get_global_rib('10.10.20.0/24')) == 1) self.assertTrue(len(g2.get_global_rib('10.10.30.0/24')) == 1) @@ -153,7 +153,7 @@ class GoBGPTestBase(unittest.TestCase): g2 = self.bgpds['g2'] g3 = self.bgpds['g3'] - g1.graceful_restart() + g1.stop_gobgp() g2.wait_for(expected_state=BGP_FSM_ACTIVE, peer=g1) g3.wait_for(expected_state=BGP_FSM_ACTIVE, peer=g1) |