Skip to content

Commit fd3f887

Browse files
committed
testRemoveFileOnFileChange() requires history to be on
1 parent 84f077f commit fd3f887

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/index/IndexerTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ void testRemoveFileOnFileChange() throws Exception {
332332
env.setSourceRoot(testrepo.getSourceRoot());
333333
env.setDataRoot(testrepo.getDataRoot());
334334
env.setRepositories(testrepo.getSourceRoot());
335+
env.setHistoryEnabled(true);
335336

336337
// Create history cache.
337338
Indexer.getInstance().prepareIndexer(env, true, true,

0 commit comments

Comments
 (0)