X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=run_tests.sh;h=065e725ab5d8c1a94f44b2d6d4cdbb656eda227a;hb=1e67766fca7b8535cc84a19c7391dee1afd33d59;hp=411042089ff72ca8035fd2bc8a7c1fdaaeb1a1c1;hpb=8fd28cfeaca4ac29f4357c51eb0c0374d0d0a409;p=bottlenecks.git diff --git a/run_tests.sh b/run_tests.sh index 41104208..065e725a 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -27,7 +27,6 @@ where: --report push results to DB (false by default) examples: - $(basename "$0") $(basename "$0") -s posca_factor_test" # Define global variables @@ -42,11 +41,11 @@ cleanup=false # Define alias for log printing info () { - logger -s -t "bottlenecks.info" "$*" + logger -s -t "BOTTLENECKS INFO" "$*" } error () { - logger -s -t "bottlenecks.error" "$*" + logger -s -t "BOTTLENECKS ERROR" "$*" exit 1 } @@ -103,13 +102,8 @@ function run_test(){ If you want to run VSTF, please refer to earlier releases." ;; *) - info "Composing up dockers" - docker-compose -f /home/opnfv/bottlenecks/docker/bottleneck-compose/docker-compose.yml up -d - info "Pulling tutum/influxdb for yardstick" - docker pull tutum/influxdb:0.13 - sleep 5 info "Running posca $test_level: $test_exec" - docker exec bottleneckcompose_bottlenecks_1 python ${POSCA_SUITE}/run_posca.py $test_level $test_exec $REPORT + python ${POSCA_SUITE}/../run_testsuite.py $test_level $test_exec $REPORT ;; esac }