419420421422423424425426427428429
} }; synchronized (consumer) { new Thread(t).start(); consumer.wait(10000); } stopBroker(); assertTrue(t.passed()); }
451452453454455456457458459460461
} } }; synchronized (consumer) { new Thread(t).start(); consumer.wait(10000); consumer.notifyAll(); } stopBroker(); assertTrue(t.passed()); }
490491492493494495496497498499500
} } }; synchronized (consumer) { new Thread(t).start(); consumer.wait(10000); } stopBroker(); assertTrue(t.passed()); }