Added timeout for AMQ-4877

This commit is contained in:
Kevin Earls 2013-11-12 16:17:10 +01:00
parent 6540f04a40
commit 0ed2ddb3df
1 changed files with 1 additions and 2 deletions

View File

@ -60,14 +60,12 @@ public class QueueMbeanRestartTest extends TestSupport {
this.persistenceAdapterChoice = choice;
}
@Override
@Before
public void setUp() throws Exception {
topic = false;
super.setUp();
}
@Override
@After
public void tearDown() throws Exception {
super.tearDown();
@ -89,6 +87,7 @@ public class QueueMbeanRestartTest extends TestSupport {
private void restartBroker() throws Exception {
broker.stop();
broker.waitUntilStopped();
Thread.sleep(5 * 1000);
createBroker(false);
broker.waitUntilStarted();
}