summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-04-09 15:32:27 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-04-14 08:10:28 +0900
commitbcfba3c942673c9a15342a37a8d73fe29057dc88 (patch)
treeac59247f5d0010081813909d315cb38e7c1d6634 /test
parent7a60a20110d88895349f3177a106756d764a8e85 (diff)
scenario_test: remove sleep and change an option of docker exec
Diffstat (limited to 'test')
-rw-r--r--test/scenario_test/docker_control.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/scenario_test/docker_control.py b/test/scenario_test/docker_control.py
index f8af7550..81191891 100644
--- a/test/scenario_test/docker_control.py
+++ b/test/scenario_test/docker_control.py
@@ -258,10 +258,9 @@ def bridge_unsetting_for_docker_connection():
def start_gobgp():
- # cmd = "docker exec -it gobgp " + INSTALL_FILE
- # local(cmd, capture=True)
- # cmd = "docker exec -it gobgp " + STARTUP_FILE + "&"
- cmd = "docker exec -it gobgp " + INSTALL_FILE + " && sleep 40 && docker exec -d gobgp " + STARTUP_FILE
+ cmd = "docker exec gobgp " + INSTALL_FILE
+ local(cmd, capture=True)
+ cmd = "docker exec -d gobgp " + STARTUP_FILE
local(cmd, capture=True)