Fixing regression caused by changes to SuppressRelyException in commit b0e91d47f5.

This commit is contained in:
Hiram Chirino 2013-12-02 12:29:21 -05:00
parent cfeea7797d
commit 61e13fa6ce
2 changed files with 2 additions and 5 deletions

View File

@ -437,13 +437,13 @@ class LevelDBStore extends LockableServiceSupport with BrokerServiceAware with P
def verify_running = {
if( isStopping || isStopped ) {
try {
throw new SuppressReplyException("Not running")
throw new IOException("Not running")
} catch {
case e:IOException =>
if( broker_service!=null ) {
broker_service.handleIOException(e)
}
throw e
throw new SuppressReplyException(e);
}
}
}

View File

@ -18,7 +18,6 @@ package org.apache.activemq.store;
import org.apache.activemq.leveldb.LevelDBStore;
import org.junit.Test;
import org.junit.Ignore;
import java.io.IOException;
@ -35,12 +34,10 @@ public class LevelDBStorePerDestinationTest extends StorePerDestinationTest {
return store;
}
@Ignore("needs some investigation w.r.t to SuppressReplyException - broken by: https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=b0e91d47")
@Test
@Override
public void testRollbackRecovery() throws Exception {}
@Ignore("needs some investigation w.r.t to SuppressReplyException - broken by: https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=b0e91d47")
@Test
@Override
public void testCommitRecovery() throws Exception {}