arquillian / arquillian-core

Arquillian provides a component model for integration tests, which includes dependency injection and container life cycle management. Instead of managing a runtime in your test, Arquillian brings your test to the runtime.
http://arquillian.org
Apache License 2.0
369 stars 194 forks source link

ARQ-2231 The JUnit 5 container does not work with manual mode tests #546

Closed rhusar closed 3 months ago

rhusar commented 6 months ago

https://issues.redhat.com/browse/ARQ-2231

rhusar commented 6 months ago

Thanks @petrberan for pointing this out - given that the cxf testsuite is doing pretty convoluted code paths, until we figure our where the problem is, converting to draft. Perhaps the double events are now defacto the norm.

jamezp commented 6 months ago

I don't know how we can stop these things from happening twice, but if I use this PR and add an empty @BeoreEach method the test will pass. So maybe we do need it executed twice, though it does feel like it should be done twice.

rhusar commented 3 months ago

Thanks @jamezp

Rebased only now to remove the merge commits/pull in latest changes and run CI, no changes.