You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that at present we are processing more
classes than are strictly nessesary, however
the proper fix for this requires some changes
that are part of my continous testing branch.
Fixesquarkusio#16347
Note that at present we are processing more
classes than are strictly nessesary, however
the proper fix for this requires some changes
that are part of my continous testing branch.
Fixesquarkusio#16347
(cherry picked from commit 963358c)
Describe the bug
We (@chris-asl) create a simple project by running:
Then we add the jacoco dependency:
Running tests with
./mvnw clean verify
we can generate the jacoco report and everything works as expected.However when we add kubernetes client dependency
and rerun the tests they fail with build errors:
The docs here https://quarkus.io/guides/tests-with-coverage#coverage-for-tests-not-using-quarkustest
mention that we should configure offline transformation when we are not using
@QuarkusTest
.Although the
src/test/java/org/acme/GreetingResourceTest.java
is currently annottated as such.Do we need to setup offline instrumentation when using kubernetes-client extension?
Expected behavior
Runs tests successfully and produce the jacoco report.
Actual behavior
Tests fail due to build errors:
To Reproduce
Here is a project that reproduces the issue (as described above)
https://github.com/el10686/tests-with-coverage-quickstart
Steps to reproduce the behavior:
Configuration
Empty file
Environment (please complete the following information):
Output of
uname -a
orver
Linux vanias-G5-5500 5.8.0-48-generic #54~20.04.1-Ubuntu SMP Sat Mar 20 13:40:25 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
GraalVM version (if different from Java)
Not using GraalVM
Quarkus version or git rev
1.13.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /home/vanias/.m2/wrapper/dists/apache-maven-3.6.3-bin/1iopthnavndlasol9gbrbg6bf2/apache-maven-3.6.3
Java version: 11.0.10, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.8.0-48-generic", arch: "amd64", family: "unix"
The text was updated successfully, but these errors were encountered: