We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dca855 commit 557894dCopy full SHA for 557894d
oak-run/src/test/java/org/apache/jackrabbit/oak/index/IncrementalStoreTest.java
@@ -709,6 +709,9 @@ private static List<String> getNodeStatesWithPrefferedPathsAndPathPredicatesOver
709
710
private Backend createNodeStore(boolean readOnly) {
711
MongoConnection c = connectionFactory.getConnection();
712
+ if (!readOnly) {
713
+ MongoUtils.dropCollections(c.getDatabase());
714
+ }
715
DocumentMK.Builder builder = builderProvider.newBuilder();
716
builder.setMongoDB(c.getMongoClient(), c.getDBName());
717
if (readOnly) {
0 commit comments