summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/lib/quagga.py
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-07-26 17:55:53 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-07-27 11:26:10 +0900
commitb3f503494d5eec45c668bdaafddc1018068f24d7 (patch)
treecd925d7f47a5a3aedabc4a32fb486f049e2b2054 /test/scenario_test/lib/quagga.py
parentd5aa0d32a4161ce8c50bacdd846034575f287340 (diff)
test: introduce test_prefix to separate test execution
test_prefix is used for work directory, docker name, bridge name Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/lib/quagga.py')
-rw-r--r--test/scenario_test/lib/quagga.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scenario_test/lib/quagga.py b/test/scenario_test/lib/quagga.py
index 0346768f..1099866a 100644
--- a/test/scenario_test/lib/quagga.py
+++ b/test/scenario_test/lib/quagga.py
@@ -189,5 +189,5 @@ class QuaggaBGPContainer(BGPContainer):
f.writelines(str(c))
def reload_config(self):
- cmd = 'docker exec {0} /usr/bin/pkill bgpd -SIGHUP'.format(self.name)
- local(cmd, capture=True)
+ cmd = '/usr/bin/pkill bgpd -SIGHUP'
+ self.local(cmd)