I’m porting our build system to gradle (previously based on just ant and working just ok), and I’m a bit blocked with a problem.
I admit that my jUnits (+1000) are not all that well designed, but gradle is not making it easy… my build is stuck in the middle without telling anything useful. My last lines in debug mode are:
… 18:21:12.342 [DEBUG] [TestEventLogger]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 18:21:12.353 [DEBUG] [TestEventLogger]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 18:21:12.361 [DEBUG] [TestEventLogger]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 18:21:12.370 [DEBUG] [TestEventLogger]
at java.lang.reflect.Method.invoke(Method.java:597) 18:21:12.380 [DEBUG] [TestEventLogger]
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) 18:21:12.388 [DEBUG] [TestEventLogger]
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) 18:21:12.397 [DEBUG] [TestEventLogger]
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) 18:21:12.407 [DEBUG] [TestEventLogger]
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) 18:21:12.415 [DEBUG] [TestEventLogger]
at org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28) 18:21:12.425 [DEBUG] [TestEventLogger] 18:21:12.435 [DEBUG] [TestEventLogger] com..TestCustomScreen FAILED 18:21:12.445 [DEBUG] [TestEventLogger] 18:21:12.454 [DEBUG] [TestEventLogger] Gradle Worker 8 FAILED
Usually, in debug mode I can see when a test starts, and when it finishes so if a test were be blocked in the middle, I’d see it… But there it just says that and nothing more. I’m running it with maxParallelForks=1.
I’m using gradle 1.1.
Any idea why? how to proceed in this scenario?
Thanks!!