You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When JT400 test module is executed with real service and one process is reading/wring a message. The second process might get an error response CPF2451 Message queue D_REPLMSGQ is allocated to another job.
This allocation is released after several seconds and the test contains a nawait timeout to overcome this issue. See the code.
If you run several tests in parallel. For example using a script like:
for i in {1..2}
do
(mvn clean test -f integration-tests/jt400 -Dquarkus.http.test-port=808$i | sed "s/^/[Run $i] /") | tee jt400_$i.log &
done
and if you lower the timeout to i.e. 2 seconds. You should see the error.
I see 2 reason of this error:
Some jt400 configuration forces the timeout
There is an issue in releasing the jt400 connection by camel-jt400 component. (I was checking the code, but I havem't found any problem there)
From my POV, the issue is not a major, but happens only in parallel access to one resource and the timeout is quite low.
The text was updated successfully, but these errors were encountered:
Bug description
When JT400 test module is executed with real service and one process is reading/wring a message. The second process might get an error response
CPF2451 Message queue D_REPLMSGQ is allocated to another job
.This allocation is released after several seconds and the test contains a nawait timeout to overcome this issue. See the code.
If you run several tests in parallel. For example using a script like:
and if you lower the timeout to i.e. 2 seconds. You should see the error.
I see 2 reason of this error:
From my POV, the issue is not a major, but happens only in parallel access to one resource and the timeout is quite low.
The text was updated successfully, but these errors were encountered: