GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||
GeezerVison is showing github.com — Implement fail-fast behavior for JUnit Platform provider by marcphilipp · Pull Request #3155 · apache/maven-surefire Conversation
|
|
Wow, cool! Thanks |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I've changed this PR to "draft" because it requires at least a milestone release of JUnit 6.0.0 to be merged. I've opened it early so I can address any feedback you might have. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Moreover, this PR supersedes #503 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| static final Class<?> LAUNCHER_EXECUTION_REQUEST_CLASS = loadLauncherExecutionRequestClass(); | ||
| static final Class<?> CANCELLATION_TOKEN_CLASS = loadCancellationTokenClass(); | ||
| static final Supplier<CancellationTokenAdapter> CANCELLATION_TOKEN_FACTORY = createCancellationTokenFactory(); | ||
| static final Method EXECUTE_METHOD_WITH_LAUNCHER_EXECUTION_REQUEST_PARAMETER = | ||
| findExecuteMethodWithLauncherExecutionRequestParameter(); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This class heavily relies on reflection to keep compatible with pre-6.x versions of JUnit
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
With JUnit 6 in play, testing with JDK 8 and 11 are out - as JDK 17 is the new minimum. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Done in 4221aca |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@cstamas Could you please approve workflow execution? I think all tests should be green now. 🤞 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
One more time, please! 😬 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The one remaining failure looks unrelated. Is that test known to be flaky? 🤔 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Great! Thanks for this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'll update this PR early next week after which it should be ready to be merged. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
5cb20ea to
dd77018
Compare
dd77018 to
d834468
Compare
|
I've rebased this PR to include the latest changes from the default branch and updated the integration test to use JUnit 6.0.0-M2. From my perspective, it's ready to be reviewed and then merged now. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I pushed another commit that should fix the problem on JDK 17 and later |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM Thanks
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@olamy Can this PR be merged? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry for delay and thanks a lot for the contribution |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[SUREFIRE-1710] skipAfterFailureCount in JUnit5 provider
There was an error while loading. Please reload this page.