-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test execution fail on Intellij #32273
Comments
Are you saying that IntelliJ can't run the tests of the Quarkus repo itself? If so, that is unsurprising given the complexity of the project. |
It was possible before and if you comment that annotation, all works. |
I have personally never been able to run anything from the IDE on the Quarkus core repo. |
@mkouba where does |
It's bundled in the |
Hm... Maybe as trips up IDEs we can just use some custom annotation for the purposes of the test? |
The same here.
We could just remove this annotation from the test. |
@brunobat would you like to do a PR with ^? Asking because we can't get the IDE to work anyway and you seem to be able to :) |
Cool, will do |
Curious... once I remove that annotation, the WrongInjectTest test fails:
|
That's expected - you need to update the assertion as well. |
yeah... didn't look deep enough |
@brunobat can this be closed now? |
Yes. It's fixed now. |
Describe the bug
On a fully built and loaded Quarkus 3, with main, trying to run or debug tests with the IDE triggers this error:
This annotation is not resolved:
@org.gradle.internal.impldep.javax.inject.Inject
Example test to trigger the issue:
io.quarkus.opentelemetry.deployment.OpenTelemetryHttpCDITest
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
Darwin ... 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000 arm64
Output of
java -version
temurin-17.0.4.1
GraalVM version (if different from Java)
No response
Quarkus version or git rev
Quarkus main
Build tool (ie. output of
mvnw --version
orgradlew --version
)maven/3.8.7
Additional information
IntelliJ IDEA 2023.1 (Ultimate Edition)
Build #IU-231.8109.175, built on March 28, 2023
The text was updated successfully, but these errors were encountered: