]
Dan Berindei updated ISPN-10024:
--------------------------------
Git Pull Request:
Long test killer doesn't work on Java 11
----------------------------------------
Key: ISPN-10024
URL:
https://issues.jboss.org/browse/ISPN-10024
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.4.8.Final, 10.0.0.Beta2
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
Labels: testsuite_stability
Fix For: 10.0.0.Beta3
When a test takes > 5 minutes, {{RunningTestsRegistry}} takes a thread dump of the
entire JVM and its child processes, then interrupts the test thread, and if the test still
doesn't stop, it kills the test suite JVM.
With OpenJDK 11, the path to {{jstack}} is wrong, the thread dump step fails, and the
interrupt/kill steps are skipped.
Note that on IBM JDK 8 {{jstack}} is missing completely, so we may want to write the
thread stacktraces ourselves. The downside is that we would lose
synchronization/lock/deadlock information.