Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ public void testWithLz4CompressionWithCustomRegexFilterAndCustomExcludedPaths()
public void incrementalFFSTest(boolean customRegexFilter, boolean customExcludedPathsFilter) throws Exception {
Backend rwBackend = createNodeStore(false);
createBaseContent(rwBackend.documentNodeStore);
rwBackend.documentNodeStore.runBackgroundOperations();
String initialCheckpoint = rwBackend.documentNodeStore.checkpoint(3600000);
Backend roBackend = createNodeStore(true);

Expand All @@ -228,6 +229,7 @@ public void incrementalFFSTest(boolean customRegexFilter, boolean customExcluded
Path initialFfsPath = createFFS(roBackend, pathPredicate, basePreferredPathElements, List.of(new PathFilter(List.of("/"), Collections.emptyList())), initialCheckpoint, "initial", getNodeStateAtCheckpoint1(customRegexFilter, customExcludedPathsFilter));

createIncrementalContent(rwBackend.documentNodeStore);
rwBackend.documentNodeStore.runBackgroundOperations();
String finalCheckpoint = rwBackend.documentNodeStore.checkpoint(3600000);
Backend roBackend1 = createNodeStore(true);

Expand Down Expand Up @@ -731,7 +733,7 @@ private Backend createNodeStore(boolean readOnly) {
if (readOnly) {
builder.setReadOnlyMode();
}
builder.setAsyncDelay(1);
builder.setAsyncDelay(0);
DocumentNodeStore documentNodeStore = builder.getNodeStore();
BlobStore blobStore = new MemoryBlobStore();
return new Backend(c.getMongoURI(), (MongoDocumentStore) builder.getDocumentStore(), documentNodeStore, c.getDatabase(), blobStore);
Expand Down
Loading