diff options
Diffstat (limited to 'test/scenario_test/docker_control.py')
-rw-r--r-- | test/scenario_test/docker_control.py | 7 |
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) |