I have a test that always works locally on all machines I've tested it on, but fails now and then in the pipeline.
The test in question is written in Java and uses a thread pool with a static size of 1 to ensure that a scheduled event is fired under certain conditions. I use awaitility to await a certain state, but that state is not reached within the configured timeout.
Might threading be a problem? Is there any limit to the number threads?