-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
UnsupportedOperationException while running a QuarkusUnitTest with DevServices #19325
Comments
/cc @stuartwdouglas |
I tried this and it worked, do you have a reproducer? |
Heh, this test was my reproducer, I had it failing in https://github.com/quarkusio/registry.quarkus.io |
I ran the test from inside Intellij IDEA, if that helps |
You can't mix QuarkusTest and QuarkusUnitTest. I swear we used to have error detection for this but I can't seem to find it. |
Mix how? The test doesn't have any |
The module does though, QuarkusTest starts quarkus once and leaves it running, QuarkusUnitTest starts/stops each time. |
I am sure we used to have this but it seems to have gotten lost somewhere. Fixes quarkusio#19325
Describe the bug
Having a test like the following:
The following error is thrown when trying to run the test:
Expected behavior
The test would run
Actual behavior
Test fails with
UnsupportedOperationException
How to Reproduce?
Run the test above with a project containing:
Output of
uname -a
orver
Fedora 34
Output of
java -version
11
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.1.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Maven 3.8.1
Additional information
No response
The text was updated successfully, but these errors were encountered: