195196197198199200201202203204205
// Wait for notification Thread.sleep(150); assertEquals(0, pullPoint.getMessages(0).size()); subscription.resume(); wsnBroker.notify("myTopic", new Notify()); // Wait for notification Thread.sleep(150);
193194195196197198199200201202203
// Wait for notification Thread.sleep(50); assertEquals(0, pullPoint.getMessages(0).size()); subscription.resume(); wsnBroker.notify("myTopic", new Notify()); // Wait for notification Thread.sleep(50);
196197198199200201202203204205206
// Wait for notification Thread.sleep(timeout); assertEquals(0, pullPoint.getMessages(0).size()); subscription.resume(); wsnBroker.notify("myTopic", new Notify()); // Wait for notification Thread.sleep(timeout);