quick-perf / quickperf

QuickPerf is a testing library for Java to quickly evaluate and improve some performance-related properties
https://github.com/quick-perf/doc/wiki/QuickPerf
Apache License 2.0
471 stars 67 forks source link

Quarkus tests not working with quick perf #219

Open ennishol opened 6 months ago

ennishol commented 6 months ago

Describe the bug I've created a simple quarkus 3.8.2 app with java 21 and some quick perf tests on top of @QuarkusTest. I'm not sure if quarkus is supported at all, but if it is then here is the reproducer:

To Reproduce quarkus-demo.tar.gz unpack and run tests with ./mvnw verify

Expected behavior No exceptions without traces thrown

Actual behavior Exceptions and no traces in logs

[ERROR] Errors:
[ERROR]   GreetingResourceTest.testHelloEndpoint » Connect Connection refused
[ERROR]   GreetingsTest.testGreetingsTest » NullPointer

Versions

jeanbisutti commented 6 months ago

The SQL annotations are supposed to work with Quarkus but not the JVM ones. Could you spot what is different between your example and this one?