summaryrefslogtreecommitdiffhomepage
path: root/test/lib
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2018-05-15 08:57:44 +0900
committerIWASE Yusuke <iwase.yusuke0@gmail.com>2018-05-15 09:43:29 +0900
commit3fc524a5f5d810597757c63c51106819b520680f (patch)
treeb649242a6fb86ee5f17b97d036074cbc61d3a054 /test/lib
parentefd215d814f0fc686c5d1ea7256bef77ce3ee194 (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/lib')
-rw-r--r--test/lib/gobgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/gobgp.py b/test/lib/gobgp.py
index 00efedf4..a4d697b1 100644
--- a/test/lib/gobgp.py
+++ b/test/lib/gobgp.py
@@ -113,7 +113,7 @@ class GoBGPContainer(BGPContainer):
local(cmd, capture=True)
self.local("{0}/start.sh".format(self.SHARED_VOLUME), detach=True)
- def graceful_restart(self):
+ def stop_gobgp(self):
self.local("pkill -INT gobgpd")
def _start_zebra(self):