Added test worker interruption to prevent ZK suite timeout - Fixes
@@ -684,7 +684,12 @@ public abstract class GridCacheAbstractNodeRestartSelfTest extends GridCommonAbs
}
for (Thread t : threads)
- t.join();
+ t.join(2 * duration);
+
+ for (Thread t : threads) {
+ if (t.isAlive())
+ t.interrupt();
+ }
if (err.get() != null)
throw err.get();
