Skip to content

Commit

Permalink
[hotfix][tests] Don't override ChangelogEnable setting from pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
rkhachatryan committed Feb 14, 2022
1 parent 40dc2b4 commit 8bec0ad
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,10 @@ private static void randomizeConfiguration(MiniCluster miniCluster, Configuratio
// randomize ITTests for enabling state change log
if (isConfigurationSupportedByChangelog(miniCluster.getConfiguration())) {
if (STATE_CHANGE_LOG_CONFIG.equalsIgnoreCase(STATE_CHANGE_LOG_CONFIG_ON)) {
conf.set(StateChangelogOptions.ENABLE_STATE_CHANGE_LOG, true);
miniCluster.overrideRestoreModeForRandomizedChangelogStateBackend();
if (!conf.contains(StateChangelogOptions.ENABLE_STATE_CHANGE_LOG)) {
conf.set(StateChangelogOptions.ENABLE_STATE_CHANGE_LOG, true);
miniCluster.overrideRestoreModeForRandomizedChangelogStateBackend();
}
} else if (STATE_CHANGE_LOG_CONFIG.equalsIgnoreCase(STATE_CHANGE_LOG_CONFIG_RAND)) {
boolean enabled =
randomize(conf, StateChangelogOptions.ENABLE_STATE_CHANGE_LOG, true, false);
Expand Down

0 comments on commit 8bec0ad

Please sign in to comment.