From 207ac524b278f0aa443b43c4dc451f2a833cff45 Mon Sep 17 00:00:00 2001
From: Florian Uhlig <f.uhlig@gsi.de>
Date: Mon, 30 Jan 2023 23:15:37 +0100
Subject: [PATCH] Fix weekly tests

Increase test times for json configuration since the time for running the
reco stage increases nonlinearly with the number of events in the timeslice.
---
 macro/PWG/common/production/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/macro/PWG/common/production/CMakeLists.txt b/macro/PWG/common/production/CMakeLists.txt
index 1d8e6396e9..2446657ceb 100644
--- a/macro/PWG/common/production/CMakeLists.txt
+++ b/macro/PWG/common/production/CMakeLists.txt
@@ -5,11 +5,11 @@ find_package(Python)
 if (Python_FOUND)
   # Define the number of events to run
   if(LARGE_TEST_STATISTIC OR ${CBM_TEST_MODEL} MATCHES Weekly)
-    Set(production_macro_events 50)
+    Set(production_macro_events 40)
   else()
     Set(production_macro_events 2)
   endif()
-  math(EXPR timeOutTime "300 + (${production_macro_events} * 20)")
+  math(EXPR timeOutTime "300 + (${production_macro_events} * 150)")
 
   GENERATE_TEST_SCRIPT(${CBMROOT_SOURCE_DIR}/macro/PWG/common/production/run_json.sh)
 
-- 
GitLab