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
Maven surefire.rerunFailingTestsCount option does not work in the case where there are test profiles or resources, unless the test order falls such that the failing test uses the last profile/resource
#46048
Open
holly-cummins opened this issue
Feb 3, 2025
· 3 comments
The test is not rerun immediately after the failing one?
Oh, sorry, I created an issue in haste to have something to anchor to, but I should have added context. Re-running is working fine in main, but it's broken by #34681. The problem is that the quarkus test extension shuts down the classloaders and app when switching between resources, so that by the time maven triggers the rerun, it's trying to run against a terminated app.
When maven triggers the re-run, discovery is re-executed, but not classloading, so we don't get a chance to make a 'fresh' app.
No description provided.
The text was updated successfully, but these errors were encountered: