Fix BackupAuthenticationTest

This commit is contained in:
jbertram 2016-12-13 21:08:36 -06:00
parent 8263ef2f98
commit ba1c83e1ed
1 changed files with 3 additions and 1 deletions

View File

@ -601,7 +601,9 @@ public class ActiveMQServerImpl implements ActiveMQServer {
} }
public void resetNodeManager() throws Exception { public void resetNodeManager() throws Exception {
nodeManager.stop(); if (nodeManager != null) {
nodeManager.stop();
}
nodeManager = createNodeManager(configuration.getJournalLocation(), true); nodeManager = createNodeManager(configuration.getJournalLocation(), true);
} }