187188189190191192193194195196197
// Wait for notification Thread.sleep(150); assertEquals(1, pullPoint.getMessages(0).size()); subscription.pause(); wsnBroker.notify("myTopic", new Notify()); // Wait for notification Thread.sleep(150);
185186187188189190191192193194195
// Wait for notification Thread.sleep(50); assertEquals(1, pullPoint.getMessages(0).size()); subscription.pause(); wsnBroker.notify("myTopic", new Notify()); // Wait for notification Thread.sleep(50);
188189190191192193194195196197198
// Wait for notification Thread.sleep(timeout); assertEquals(1, pullPoint.getMessages(0).size()); subscription.pause(); wsnBroker.notify("myTopic", new Notify()); // Wait for notification Thread.sleep(timeout);