提交 d33a6322 编写于 作者: J Jesse Glick

Another attempt to diagnose a random test failure. (Cf. #1370.)

上级 bdc91654
......@@ -59,12 +59,14 @@ public class ConnectionTest extends Assert {
t1.join(9999);
t2.join(9999);
if (e != null) {
throw e;
}
if (t1.isAlive() || t2.isAlive()) {
t1.interrupt();
t2.interrupt();
throw new Error("thread is still alive");
}
if (e!=null) throw e;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册