Author: ataylor
Date: 2009-11-02 05:20:08 -0500 (Mon, 02 Nov 2009)
New Revision: 8179
Modified:
trunk/tests/src/org/hornetq/tests/unit/core/paging/impl/PagingStoreImplTest.java
Log:
fixed test
Modified:
trunk/tests/src/org/hornetq/tests/unit/core/paging/impl/PagingStoreImplTest.java
===================================================================
---
trunk/tests/src/org/hornetq/tests/unit/core/paging/impl/PagingStoreImplTest.java 2009-11-02
09:26:21 UTC (rev 8178)
+++
trunk/tests/src/org/hornetq/tests/unit/core/paging/impl/PagingStoreImplTest.java 2009-11-02
10:20:08 UTC (rev 8179)
@@ -138,13 +138,15 @@
{
SequentialFileFactory factory = new FakeSequentialFileFactory();
+ AddressSettings addressSettings = new AddressSettings();
+ addressSettings.setAddressFullMessagePolicy(AddressFullMessagePolicy.PAGE);
PagingStore storeImpl = new PagingStoreImpl(createMockManager(),
createStorageManagerMock(),
createPostOfficeMock(),
factory,
null,
destinationTestName,
- new AddressSettings(),
+ addressSettings,
executor);
storeImpl.start();
@@ -216,7 +218,7 @@
factory,
null,
destinationTestName,
- new AddressSettings(),
+ addressSettings,
executor);
storeImpl.start();
Show replies by date