Author: mduerig
Date: Thu Aug 18 15:08:54 2016
New Revision: 1756807
URL: http://svn.apache.org/viewvc?rev=1756807&view=rev
Log:
OAK-4667: Create IT to validate that reclaimed size after cleanup is always
positive
Explicitly disable memory mapping for these tests so not to rely on the default
Modified:
jackrabbit/oak/trunk/oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/CompactionAndCleanupIT.java
Modified:
jackrabbit/oak/trunk/oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/CompactionAndCleanupIT.java
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/CompactionAndCleanupIT.java?rev=1756807&r1=1756806&r2=1756807&view=diff
==============================================================================
---
jackrabbit/oak/trunk/oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/CompactionAndCleanupIT.java
(original)
+++
jackrabbit/oak/trunk/oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/CompactionAndCleanupIT.java
Thu Aug 18 15:08:54 2016
@@ -945,6 +945,7 @@ public class CompactionAndCleanupIT {
.withGCMonitor(fileStoreGCMonitor)
.withStatisticsProvider(statsProvider)
.withMaxFileSize(1)
+ .withMemoryMapping(false)
.build();
final SegmentNodeStore nodeStore =
SegmentNodeStoreBuilders.builder(fileStore).build();
@@ -1000,6 +1001,7 @@ public class CompactionAndCleanupIT {
.withGCMonitor(fileStoreGCMonitor)
.withStatisticsProvider(statsProvider)
.withMaxFileSize(1)
+ .withMemoryMapping(false)
.build();
final SegmentNodeStore nodeStore =
SegmentNodeStoreBuilders.builder(fileStore).build();