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)
....
and this message is repeat a large number of times (per test?)

any idea of what is wrong?

I tried with debian testng jar file and also tried to get a more recent one
(just in case), but same issue.

Thanks
Olivier

Reply via email to