-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Hello team!
Please provide ability to disable FAIL_FAST_ALWAYS usage for the selection of DockerClientProviderStrategy located here:
Line 55 in abf1846
| private static final AtomicBoolean FAIL_FAST_ALWAYS = new AtomicBoolean(false); |
Our use case:
- We have big mono repo which periodically execute "test all" kind of job
- This job running gradle tests in parallel (via gradle settings) and a lot of projects using test containers to perform various tests
- Possibly due to the high usage of docker (this part hard to investigate well for me) sometimes test containers will not be able to find docker environment even though it's present and will set flag FAIL_FAST_ALWAYS
- As we use following plugin https://github.com/gradle/test-retry-gradle-plugin that retry tests as part of the same task I assume that initialized static field is not reset when it retry failed tests. So this plugin trying to retry test from the same task for test that uses test containers and it will fail due to FAIL_FAST_ALWAYS flag be set
Having ability to disable this flag on demand or being able to forcibly configure retries even if that flag is set would be helpful in our situation
Reactions are currently unavailable