NO-JIRA Trying to fix intermittent failure on ShutdownOnCriticalIOErrorMoveNextTest
This commit is contained in:
parent
15d39a14ea
commit
40e9d4ebf7
|
@ -50,7 +50,6 @@ public class ShutdownOnCriticalIOErrorMoveNextTest extends ActiveMQTestBase {
|
|||
deleteDirectory(new File("./target/server"));
|
||||
ActiveMQServer server = createServer("./target/server");
|
||||
|
||||
try {
|
||||
server.start();
|
||||
|
||||
ConnectionFactory factory = new ActiveMQConnectionFactory();
|
||||
|
@ -71,11 +70,6 @@ public class ShutdownOnCriticalIOErrorMoveNextTest extends ActiveMQTestBase {
|
|||
|
||||
Assert.assertFalse(server.isStarted());
|
||||
|
||||
} finally {
|
||||
server.stop();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ActiveMQServer createServer(String folder) throws Exception {
|
||||
|
@ -121,7 +115,7 @@ public class ShutdownOnCriticalIOErrorMoveNextTest extends ActiveMQTestBase {
|
|||
|
||||
};
|
||||
|
||||
return server;
|
||||
return addServer(server);
|
||||
}
|
||||
|
||||
Configuration createConfig(String folder) throws Exception {
|
||||
|
|
Loading…
Reference in New Issue