From 9220819c92495a09f78674b396c00b31deb3257c Mon Sep 17 00:00:00 2001 From: Piotr Konopka Date: Wed, 23 Jun 2021 14:07:12 +0200 Subject: [PATCH] Increase the timeout values in the multinode test (#739) * 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 --- Framework/CMakeLists.txt | 2 +- Framework/script/o2-qc-multinode-test.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Framework/CMakeLists.txt b/Framework/CMakeLists.txt index 52bc2afb14..feabee9d58 100644 --- a/Framework/CMakeLists.txt +++ b/Framework/CMakeLists.txt @@ -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 diff --git a/Framework/script/o2-qc-multinode-test.sh b/Framework/script/o2-qc-multinode-test.sh index 3be019ea82..33e7fe2d8e 100755 --- a/Framework/script/o2-qc-multinode-test.sh +++ b/Framework/script/o2-qc-multinode-test.sh @@ -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