Hi,
I added enter and leave debug messages to the test methods in
SampleReadQueries. You find them in a new branch JDO-856.
I hope this helps to figure out why running query.conf sometimes hangs.
Please note, If the test run hangs you find the current debug output in
./target/tck.txt. The class RunTCK moves this file to
target/logs/<date>/<id><conf>-tck.txt after a successful run of a
configuration.
I am able to reproduce the hanging issue using JDK 17 an the following
subset of test classes of query.conf:
jdo.tck.classes = \
org.apache.jdo.tck.query.api.Declare \
org.apache.jdo.tck.query.api.Execute \
org.apache.jdo.tck.query.api.Get \
org.apache.jdo.tck.query.api.MetadataSearchOrder \
org.apache.jdo.tck.query.api.NewQuery \
org.apache.jdo.tck.query.api.QueryExtentions \
org.apache.jdo.tck.query.api.SampleReadQueries
Using the above test classes I see the hanging in 80% of the test runs,
sometimes it hangs when running datastoreidentity,
sometimes datastoreidentity succeeds and applicationidentity hangs. I
call the following command in directory tck:
mvn clean install -Djdo.tck.cfglist=query.conf
Regards Michael