Skip to content

Commit

Permalink
OAK-11027 flaky IncrementalStoreTest (#1979)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmueller authored Jan 13, 2025
1 parent 8dca855 commit 557894d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,9 @@ private static List<String> getNodeStatesWithPrefferedPathsAndPathPredicatesOver

private Backend createNodeStore(boolean readOnly) {
MongoConnection c = connectionFactory.getConnection();
if (!readOnly) {
MongoUtils.dropCollections(c.getDatabase());
}
DocumentMK.Builder builder = builderProvider.newBuilder();
builder.setMongoDB(c.getMongoClient(), c.getDBName());
if (readOnly) {
Expand Down

0 comments on commit 557894d

Please sign in to comment.