983984985986987988989990991992993
fr.cancel(); System.err.println("XX:" + fr.failedReason()); Assert.assertEquals(false, fr.isSuccess()); } finally { if (cc != null) { cc.shutdown().awaitListenersUninterruptibly(); } if (sender != null) { sender.shutdown().await(); } if (recv1 != null) {
10351036103710381039104010411042104310441045
} finally { if (cc != null) { cc.shutdown().awaitListenersUninterruptibly(); } if (master != null) { master.shutdown().await(); } if (slave != null) {
112113114115116117118119120121122
Assert.assertEquals(2, test2.get()); } catch (Throwable t) { t.printStackTrace(); } finally { if (cc != null) { cc.shutdown().awaitListenersUninterruptibly(); } if (master != null) { master.shutdown().await(); } if (slave != null) {
204205206207208209210211212213214
Assert.assertEquals(1, test1.get()); Assert.assertEquals(3, test2.get()); } finally { if (cc != null) { cc.shutdown().awaitListenersUninterruptibly(); } if (master != null) { master.shutdown().await(); } }
10411042104310441045104610471048104910501051
replicateOther.set(0); } } finally { if (cc != null) { cc.shutdown().awaitListenersUninterruptibly(); } for (PeerDHT peer: peers) { peer.shutdown().await(); } }