Closed carueda closed 2 years ago
/cc @jmartisk, @phillip-kruger
I also note that ./mvnw clean test
completes OK.
...
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.33 s - in org.example.graphql.EndpointTest
2022-08-02 14:17:24,815 INFO [io.quarkus] (main) quarkus-gql-issue stopped in 0.025s
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.949 s
[INFO] Finished at: 2022-08-02T14:17:24-07:00
[INFO] ------------------------------------------------------------------------
Apologies for the noise, closing this as invalid. My project was lacking the required maven-compiler-plugin
(not sure how it came to be like that) and I got confused due to "everything" seemingly working fine until I started adding graphql tests (even the subsequent workaround made me think something was actually amiss in quarkus).
Describe the bug
Unexpectedly, under a small project using quarkus and graphql (reproducer below), the following fails to complete fine:
Of course, the tests themselves are well formed and expected to pass (via workaround, see below).
Expected behavior
completes OK.
Actual behavior
Probably some incomplete instrumentation, but in any case, something is preventing the tests from proceeding/completing due to unexpected:
(full stacktrace below)
How to Reproduce?
Small reproducer at: https://github.com/carueda/quarkus-gql-issue
Clone and just run:
and the following happens:
Output of
uname -a
orver
Darwin bochica.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
Output of
java -version
openjdk version "17.0.3" 2022-04-19 OpenJDK Runtime Environment GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06) OpenJDK 64-Bit Server VM GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.11.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: /Users/carueda/.m2/wrapper/dists/apache-maven-3.8.6-bin/67568434/apache-maven-3.8.6 Java version: 17.0.3, vendor: GraalVM Community, runtime: /Users/carueda/.sdkman/candidates/java/22.1.0.r17-grl Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac"
Additional information
Similar misbehavior if starting from:
that is, going to dev mode and then pressing
r
to run the tests. However, interestingly, GraphQl queries via the UI complete fine.