Skip to content

Commit 8e7e62d

Browse files
authored
Increase the chance of local and remote part communicate in multinode test (#1914)
In one of the failing test executions I noticed sometimes the remote part starts a bit later, probably because the CI machine is overloaded or libraries take long time to load. In that specific case, there was only one message with MOs which could have been received, but it was sent together with EndOfStream. The remote part received this EndOfStream, but did not receive the message with MOs, maybe one got there faster than the other... While this is something which could be fixed at the level of passing data around, I do not assume this is reliable at this stage anyway. Two mitigations are put in place: - producer runs 5s longer (5 more messages), there is less chance that the only MonitorObjectCollection that proxy and Merger receive is sent during EOS - the remote workflow part is started first, so it's less likely that a MonitorObjectCOllection is published before the proxy and Merger start.
1 parent 987ff88 commit 8e7e62d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Framework/script/o2-qc-multinode-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ else
8080
fi
8181

8282
# store data
83-
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 &
83+
timeout -s INT 40s o2-qc --config json://${JSON_DIR}/multinode-test.json -b --remote --run &
84+
o2-qc-run-producer --producers 2 --message-amount 20 --message-rate 1 -b | timeout -s INT 35s o2-qc --config json://${JSON_DIR}/multinode-test.json -b --local --host localhost --run &
8485

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

8787
# wait until the local QC quits before moving forward.
8888
wait

0 commit comments

Comments
 (0)