From 43038c2e96e8ef7bcf2da145446fcd88c3007338 Mon Sep 17 00:00:00 2001 From: Naoto Hanaue Date: Tue, 17 Feb 2015 11:23:36 +0900 Subject: scenario_test: add malformed test pattern --- test/scenario_test/docker_control.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/scenario_test/docker_control.py') 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) -- cgit v1.2.3