Author: mduerig
Date: Mon Mar 30 16:15:29 2015
New Revision: 1670137
URL: http://svn.apache.org/r1670137
Log:
OAK-2384: SegmentNotFoundException when keeping JCR Value references
re-enable and update test with correct test expectation
Modified:
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/segment/CompactionAndCleanupTest.java
Modified:
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/segment/CompactionAndCleanupTest.java
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/segment/CompactionAndCleanupTest.java?rev=1670137&r1=1670136&r2=1670137&view=diff
==============================================================================
---
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/segment/CompactionAndCleanupTest.java
(original)
+++
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/segment/CompactionAndCleanupTest.java
Mon Mar 30 16:15:29 2015
@@ -61,7 +61,6 @@ import org.apache.jackrabbit.oak.spi.sta
import org.apache.jackrabbit.oak.spi.state.NodeStore;
import org.junit.After;
import org.junit.Before;
-import org.junit.Ignore;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -307,7 +306,6 @@ public class CompactionAndCleanupTest {
}
@Test
- @Ignore("OAK-2384") // FIXME OAK-2384
public void propertyRetention() throws IOException, CommitFailedException,
InterruptedException {
FileStore fileStore = new NonCachingFileStore(directory, 1);
try {
@@ -349,8 +347,6 @@ public class CompactionAndCleanupTest {
fileStore.readSegment(id);
fail("Segment " + id + "should be gc'ed");
} catch (SegmentNotFoundException ignore) {}
-
- assertEquals("Property should still be accessible", "value",
property.getValue(STRING));
} finally {
fileStore.close();
}