mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-13 07:52:12 +02:00
fix for gotthard to work
This commit is contained in:
parent
f5bf509525
commit
5f6dea2d6d
@ -115,6 +115,7 @@ def startTestsForAll(args, fp):
|
|||||||
acquire()
|
acquire()
|
||||||
testFramesCaught(server, args.num_frames)
|
testFramesCaught(server, args.num_frames)
|
||||||
testZmqHeadetTypeCount(server, args.num_mods, args.num_frames, fp)
|
testZmqHeadetTypeCount(server, args.num_mods, args.num_frames, fp)
|
||||||
|
Log(LogLevel.INFO, '\n')
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise RuntimeException(f'Synchronizer Tests failed')
|
raise RuntimeException(f'Synchronizer Tests failed')
|
||||||
|
|
||||||
|
@ -140,6 +140,8 @@ def startDetectorVirtualServer(name :str, num_mods, fp):
|
|||||||
for i in range(num_mods):
|
for i in range(num_mods):
|
||||||
port_no = SERVER_START_PORTNO + (i * 2)
|
port_no = SERVER_START_PORTNO + (i * 2)
|
||||||
cmd = [name + 'DetectorServer_virtual', '-p', str(port_no)]
|
cmd = [name + 'DetectorServer_virtual', '-p', str(port_no)]
|
||||||
|
if name == 'gotthard':
|
||||||
|
cmd += ['-m', '1']
|
||||||
startProcessInBackground(cmd, fp)
|
startProcessInBackground(cmd, fp)
|
||||||
match name:
|
match name:
|
||||||
case 'jungfrau':
|
case 'jungfrau':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user