326327328329330331332333334335336
} }; synchronized(producer) { new Thread(t).start(); //wait until we know that the producer was able to send a message producer.wait(10000); } stopBroker(); assertTrue(t.passed()); }