From 5f6dea2d6d3017050226da637e9bd64b3dbc994e Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Wed, 7 May 2025 14:06:30 +0200 Subject: [PATCH] fix for gotthard to work --- tests/scripts/test_frame_synchronizer.py | 1 + tests/scripts/utils_for_test.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/tests/scripts/test_frame_synchronizer.py b/tests/scripts/test_frame_synchronizer.py index b8468070c..dc3c68281 100644 --- a/tests/scripts/test_frame_synchronizer.py +++ b/tests/scripts/test_frame_synchronizer.py @@ -115,6 +115,7 @@ def startTestsForAll(args, fp): acquire() testFramesCaught(server, args.num_frames) testZmqHeadetTypeCount(server, args.num_mods, args.num_frames, fp) + Log(LogLevel.INFO, '\n') except Exception as e: raise RuntimeException(f'Synchronizer Tests failed') diff --git a/tests/scripts/utils_for_test.py b/tests/scripts/utils_for_test.py index 540fcdcd9..138ed4076 100644 --- a/tests/scripts/utils_for_test.py +++ b/tests/scripts/utils_for_test.py @@ -140,6 +140,8 @@ def startDetectorVirtualServer(name :str, num_mods, fp): for i in range(num_mods): port_no = SERVER_START_PORTNO + (i * 2) cmd = [name + 'DetectorServer_virtual', '-p', str(port_no)] + if name == 'gotthard': + cmd += ['-m', '1'] startProcessInBackground(cmd, fp) match name: case 'jungfrau':