Skip to content

Commit

Permalink
Increase the timeout values in the multinode test (#739)
Browse files Browse the repository at this point in the history
* Increase the timeout values in the multinode test

The previously used values were still not enough sometimes. The workflows would take even 15 seconds to start.

* increase also the global timeout
  • Loading branch information
knopers8 authored Jun 23, 2021
1 parent 38ce0d1 commit 9220819
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ add_test(NAME multinode_test COMMAND o2-qc-multinode-test.sh)
set_tests_properties(multinode_test
PROPERTIES ENVIRONMENT "JSON_DIR=${CMAKE_BINARY_DIR}/tests;UNIQUE_PORT_1=${UNIQUE_PORT_1};UNIQUE_PORT_2=${UNIQUE_PORT_2}")
set_property(TEST multinode_test PROPERTY LABELS slow)
set_property(TEST multinode_test PROPERTY TIMEOUT 60)
set_property(TEST multinode_test PROPERTY TIMEOUT 75)

# disable some tests in the CI to avoid un-expected failures.
# to be removed when it is fixed / understood
Expand Down
4 changes: 2 additions & 2 deletions Framework/script/o2-qc-multinode-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ fi
delete_data

# store data
o2-qc-run-producer --producers 2 --message-amount 15 --message-rate 1 -b | timeout -s INT 25s o2-qc --config json://${JSON_DIR}/multinode-test.json -b --local --host localhost --run &
o2-qc-run-producer --producers 2 --message-amount 15 --message-rate 1 -b | timeout -s INT 40s o2-qc --config json://${JSON_DIR}/multinode-test.json -b --local --host localhost --run &

timeout -s INT 30s o2-qc --config json://${JSON_DIR}/multinode-test.json -b --remote --run
timeout -s INT 35s o2-qc --config json://${JSON_DIR}/multinode-test.json -b --remote --run

# wait until the local QC quits before moving forward.
wait
Expand Down

0 comments on commit 9220819

Please sign in to comment.