Fix openwire test: ExpiryHogTest
Removed code irrelevant to Artemis broker
This commit is contained in:
parent
2cc4d399b2
commit
85989fb509
|
@ -23,7 +23,6 @@ import javax.jms.TextMessage;
|
||||||
import org.apache.activemq.broker.BrokerService;
|
import org.apache.activemq.broker.BrokerService;
|
||||||
import org.apache.activemq.broker.region.policy.PolicyEntry;
|
import org.apache.activemq.broker.region.policy.PolicyEntry;
|
||||||
import org.apache.activemq.broker.region.policy.PolicyMap;
|
import org.apache.activemq.broker.region.policy.PolicyMap;
|
||||||
import org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter;
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -58,8 +57,6 @@ public class ExpiryHogTest extends JmsMultipleClientsTestSupport {
|
||||||
policyMap.setDefaultEntry(defaultEntry);
|
policyMap.setDefaultEntry(defaultEntry);
|
||||||
bs.setDestinationPolicy(policyMap);
|
bs.setDestinationPolicy(policyMap);
|
||||||
|
|
||||||
KahaDBPersistenceAdapter ad = (KahaDBPersistenceAdapter) bs.getPersistenceAdapter();
|
|
||||||
ad.setConcurrentStoreAndDispatchQueues(true);
|
|
||||||
return bs;
|
return bs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue