Skip to content

Commit c53ee0a

Browse files
committed
fix the test by setting the indexer flag
1 parent 3111960 commit c53ee0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/history/FileHistoryCacheTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,7 @@ void testNoHistoryFetch() throws Exception {
860860
env.setFetchHistoryWhenNotInCache(false);
861861

862862
// Pretend we are done with first phase of indexing.
863+
env.setIndexer(true);
863864
HistoryGuru.getInstance().setHistoryIndexDone();
864865

865866
// First try repo with ability to fetch history for directories.

0 commit comments

Comments
 (0)