Skip to content
Permalink
Browse files
GRANITE-38542 Adding cronjob for call cleanup index command which im…
…plemented in oak-run: adjust log messages
  • Loading branch information
FrancoisZhang committed Mar 17, 2022
1 parent 773794a commit a509b48c7931a9f3f77f3be44e7a2c7d5f0e90b9
Showing 1 changed file with 2 additions and 2 deletions.
@@ -277,7 +277,7 @@ public void onlyDeleteVersionIndexesMentionedUnderIndexPaths() throws Exception
public void donotDeleteNonReadWriteMode() throws Exception {
LogCustomizer custom = LogCustomizer
.forLogger(
"org.apache.jackrabbit.oak.indexversion.PurgeOldIndexVersion")
"org.apache.jackrabbit.oak.run.PurgeOldIndexVersionCommand")
.enable(Level.INFO).create();
try {
custom.starting();
@@ -303,7 +303,7 @@ public void donotDeleteNonReadWriteMode() throws Exception {
fixture.close();
List<String> logs = custom.getLogs();
assertThat("repository is opened in read only mode ", logs.toString(),
containsString("Repository is opened in read-only mode"));
containsString("Repository connected in read-only mode."));
} finally {
custom.finished();
}

0 comments on commit a509b48

Please sign in to comment.