Will a set of test workers always have strictly mo...
# community-support
c
Will a set of test workers always have strictly monotonic increasing numbers for test workers via the
org.gradle.test.worker
system property?
For maxForks = N, I'm trying to create an index by doing
worker % N
but it seems like two workers might get the same index!?
which might mean that worker numbers are not strictly monotonic
i.e. workers have numbers [1, 3, 5, 7]
b
Not sure I understand the question. Workers are also used for task execution. So it could be that worker 2, 4, and 6 are busy executing other tasks at the moment test forks are created.
v
Those are not test workers though, so I would expect that they don't Mom no in share the same number space. But a test workers could probably be quit or die and then a new one started.