Skip to content

Commit 991b86b

Browse files
authored
rescan the repositories in testListFiles() (#4286)
fixes #4285
1 parent 9ae9a7c commit 991b86b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opengrok-web/src/test/java/org/opengrok/web/api/v1/controller/ProjectsControllerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
/*
21-
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
21+
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
2222
* Portions Copyright (c) 2019, 2020, Chris Fraire <[email protected]>.
2323
*/
2424
package org.opengrok.web.api.v1.controller;
@@ -645,7 +645,7 @@ void testListFiles() throws IOException, IndexerException {
645645

646646
Indexer.getInstance().prepareIndexer(
647647
env,
648-
false, // don't search for repositories
648+
true, // don't search for repositories
649649
true, // add projects
650650
// don't create dictionary
651651
new ArrayList<>(), // subFiles - needed when refreshing history partially

0 commit comments

Comments
 (0)