199200201202203204205206207208209
"{" + " if (message.ext1 === 1) message.ext2 = 1;" + " return message;" + "} " + "});"); readyLatch.reset(1); evaluateScript("cometd.handshake();"); Assert.assertTrue(readyLatch.await(5000)); Assert.assertTrue((Boolean)get("ok"));