diff options
author | Naoto Hanaue <hanaue.naoto@po.ntts.co.jp> | 2015-11-11 19:40:03 +0900 |
---|---|---|
committer | Naoto Hanaue <hanaue.naoto@po.ntts.co.jp> | 2015-11-13 14:17:40 +0900 |
commit | 10a079cf6499f4a1bdb0e46a352d7075d8335106 (patch) | |
tree | 0c3b8cd345c94f6d4736d0b8454855da0a5e8b1b /test/scenario_test/run_all_tests.sh | |
parent | 072a0b07bd151a49d1dcdec7a1bb224ff3cdae38 (diff) |
scenario_test: support the run test in sequential
for the following test:
- route_server_policy_test.py
- route_server_policy_grpc_test.py
- route_server_malformed_test.py
Diffstat (limited to 'test/scenario_test/run_all_tests.sh')
-rwxr-xr-x | test/scenario_test/run_all_tests.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/scenario_test/run_all_tests.sh b/test/scenario_test/run_all_tests.sh index 4cf584b7..4a6e7aff 100755 --- a/test/scenario_test/run_all_tests.sh +++ b/test/scenario_test/run_all_tests.sh @@ -68,7 +68,7 @@ sudo -E PYTHONPATH=$GOBGP/test python global_policy_test.py --gobgp-image $GOBGP PIDS=("${PIDS[@]}" $!) # route server malformed message test -NUM=$(sudo -E PYTHONPATH=$GOBGP/test python route_server_malformed_test.py -s 2> /dev/null | awk '/invalid/{print $NF}') +NUM=$(sudo -E PYTHONPATH=$GOBGP/test python route_server_malformed_test.py --test-index -1 -s 2> /dev/null | awk '/invalid/{print $NF}') PARALLEL_NUM=10 for (( i = 1; i < $(( $NUM + 1)); ++i )) do @@ -86,7 +86,7 @@ do done # route server policy test -NUM=$(sudo -E PYTHONPATH=$GOBGP/test python route_server_policy_test.py -s 2> /dev/null | awk '/invalid/{print $NF}') +NUM=$(sudo -E PYTHONPATH=$GOBGP/test python route_server_policy_test.py --test-index -1 -s 2> /dev/null | awk '/invalid/{print $NF}') PARALLEL_NUM=25 for (( i = 0; i < $(( NUM / PARALLEL_NUM + 1)); ++i )) do @@ -112,7 +112,7 @@ do done # route server policy grpc test -NUM=$(sudo -E PYTHONPATH=$GOBGP/test python route_server_policy_grpc_test.py -s 2> /dev/null | awk '/invalid/{print $NF}') +NUM=$(sudo -E PYTHONPATH=$GOBGP/test python route_server_policy_grpc_test.py --test-index -1 -s 2> /dev/null | awk '/invalid/{print $NF}') PARALLEL_NUM=25 for (( i = 0; i < $(( NUM / PARALLEL_NUM + 1)); ++i )) do |