diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-08-26 11:12:10 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-08-26 19:18:02 +0900 |
commit | aa252a18b95db8731a2abff03b03b57943c72f3d (patch) | |
tree | e29f8dfe335b55fcefaeb53cb39379a6b65f0ec9 /test/scenario_test/ci-scripts/jenkins-build-script.sh | |
parent | 93b6ec9355b119727b499caaed63c8ff5816cf26 (diff) |
test: increse the number of concurrent test execution
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/ci-scripts/jenkins-build-script.sh')
-rw-r--r-- | test/scenario_test/ci-scripts/jenkins-build-script.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/scenario_test/ci-scripts/jenkins-build-script.sh b/test/scenario_test/ci-scripts/jenkins-build-script.sh index 953c3d09..50e694b0 100644 --- a/test/scenario_test/ci-scripts/jenkins-build-script.sh +++ b/test/scenario_test/ci-scripts/jenkins-build-script.sh @@ -18,6 +18,12 @@ git log | head -20 sudo docker rmi $(sudo docker images | grep "^<none>" | awk '{print $3}') sudo docker rm -f $(sudo docker ps -a -q) +for link in $(ip li | awk '/(_br|veth)/{sub(":","", $2); print $2}') +do + sudo ip li set down $link + sudo ip li del $link +done + sudo fab -f $GOBGP/test/scenario_test/lib/base.py make_gobgp_ctn --set tag=$GOBGP_IMAGE cd $GOBGP/gobgpd |