Assert.assertEquals (Boolean.TRUE, Threading.awaitOrCatch (client_2.initialize (clientChannel, serverIdentity), KvTest.defaultPollTimeout));
Assert.assertEquals ("1", Threading.awaitOrCatch (client_2.get ("a"), KvTest.defaultPollTimeout));
Assert.assertEquals ("2", Threading.awaitOrCatch (client_2.get ("b"), KvTest.defaultPollTimeout));
Assert.assertTrue (serverChannel.terminate (KvTest.defaultPollTimeout));
Assert.assertTrue (clientChannel.terminate (KvTest.defaultPollTimeout));
Assert.assertTrue (threading.destroy (KvTest.defaultPollTimeout));
Assert.assertNull (exceptionsQueue.queue.poll ());
}
public static final long defaultPollTimeout = 1000;
public static final String defaultServerEndpoint = "inproc://e3b24530-215f-4977-b24a-b04f1768ead6";