diff options
author | Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp> | 2015-04-08 21:11:56 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-04-14 08:10:28 +0900 |
commit | 7a60a20110d88895349f3177a106756d764a8e85 (patch) | |
tree | a8771c16b2047b8f262dbca3d6e72f8a59097b1e | |
parent | 75f835725deb42b00d5f746828f2738d15e3bc4f (diff) |
scenario_test: add sleep
-rw-r--r-- | test/scenario_test/docker_control.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/scenario_test/docker_control.py b/test/scenario_test/docker_control.py index 008b346d..f8af7550 100644 --- a/test/scenario_test/docker_control.py +++ b/test/scenario_test/docker_control.py @@ -258,9 +258,10 @@ 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 + # 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 local(cmd, capture=True) |