We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d291885 commit 568980dCopy full SHA for 568980d
opengrok-web/src/test/java/org/opengrok/web/PageConfigTest.java
@@ -679,11 +679,10 @@ public String getPathInfo() {
679
RuntimeEnvironment env = RuntimeEnvironment.getInstance();
680
env.refreshDateForLastIndexRun();
681
Path timestampPath = Path.of(env.getDataRootPath(), IndexTimestamp.TIMESTAMP_FILE_NAME);
682
+ Files.deleteIfExists(timestampPath);
683
if (createTimestamp) {
684
Files.createFile(timestampPath);
685
assertTrue(timestampPath.toFile().exists());
- } else {
686
- Files.deleteIfExists(timestampPath);
687
}
688
689
PageConfig cfg = PageConfig.get(req);
0 commit comments