Hi,
when using testng with gradle on some packages (get same issue on multiple projects),
test step fails with error:
Executing task ':test' (up-to-date check took 0.0 secs) due to:
Task.upToDateWhen is false.
Cannot nest operations in the same thread. Each nested operation must run in its own thread.
java.lang.UnsupportedOperationException: Cannot nest operations in the same thread. Each nested operation must run in its own thread.
at org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry.doStartOperation(DefaultBuildOperationWorkerRegistry.java:65)