summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/docker_control.py
diff options
context:
space:
mode:
authorNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-02-17 11:23:36 +0900
committerNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-02-17 11:23:36 +0900
commit43038c2e96e8ef7bcf2da145446fcd88c3007338 (patch)
tree97c0bd7e9033c215fa91b6f89baadf6973c4e32e /test/scenario_test/docker_control.py
parenta777030609e49c2e77cb70352de579fa2ecc7be1 (diff)
scenario_test: add malformed test pattern
Diffstat (limited to 'test/scenario_test/docker_control.py')
-rw-r--r--test/scenario_test/docker_control.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/scenario_test/docker_control.py b/test/scenario_test/docker_control.py
index 1afab078..1b32314f 100644
--- a/test/scenario_test/docker_control.py
+++ b/test/scenario_test/docker_control.py
@@ -336,6 +336,9 @@ def make_config_append(quagga_num, go_path, bridge):
local(cmd, capture=True)
+def change_exagbp_version():
+ cmd = "docker exec exabgp git -C /root/exabgp pull origin master"
+ local(cmd, capture=True)
def reload_config():
@@ -474,8 +477,10 @@ def init_malformed_test_env_executor(conf_file, use_local):
make_startup_file()
change_owner_to_root(CONFIG_DIR)
+ change_exagbp_version()
+
start_gobgp()
- # time.sleep(5)
+
# run quagga docker container
docker_container_run_quagga(1, BRIDGE_0)
start_exabgp(conf_file)