quarkus: Multiple QuarkusTestResource annotations in Test are ignored
Describe the bug
Multiple @QuarkusTestResource annotations in Test are completely ignored
e.g.
@QuarkusTest
@QuarkusTestResource(ActiveMQServerTestResource.class)
@QuarkusTestResource(ActiveMQClientTestResource.class)
Expected behavior
Given that QuarkusTestResource annotation is Repeatable both test resources should be processed.
Actual behavior Both QuarkusTestResource are ignored
To Reproduce Steps to reproduce the behavior:
- Create a test with two simple “QuarkusTestResource” test resources
- Run test
- See that both QuarkusTestResource are ignored. If you comment one of them just 1 is picked and processed correctly.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (15 by maintainers)
@lkrzyzanek Yes, that’s expected - for repeatable annotations you get the “container” annotation.
@gastaldi Thanks for the reproducer!