quarkus: QuarkusTest hang in IntelliJ IDEA for master and quarkus 1.3+ but not 1.2
To reproduce:
- On
quarkus-quickstarts
, on branchdevelopment
, runLegumeResourceTest
in IntelliJ - Notice that it runs forever consistently, but that’s only on my machine for one checkout of the project.
This reproduces with the IntelliJ Ultimate, both in the latest 2019.3.3 and an earlier version 2019.2.2. This prevents normal debugging of tests in IntelliJ. Everything works fine in maven (CI’s won’t detect this problem). This reproduces after system reboot and IntelliJ reboot.
During there run, an InvocationTargetException
occurs (see debug screenshot below, but when that exception is being written to System.err
, it deadlocks on PrintStream
, causing nothing to show up and the test to run to hang.
Suspected cause
On 21-Januari this changes happened in the quarkus bom, from
<junit.jupiter.version>5.5.2</junit.jupiter.version>
to
<junit.jupiter.version>5.6.0</junit.jupiter.version>
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 25 (24 by maintainers)
It am going to close this, given that it could only be reproduced on one machine with a specific checkout I don’t think we will get to the bottom of it unless it pops up again.
Thanks for being so thorough about this!
In the JDBC driver, with “jdbc:h2:mem:quarkus_test”. No need to start any DB process.
Georgios tried on development branch. I tried on master and switched hibernate-orm-quickstart to use H2 in memory. I 'll investigate further.