Skip to content

Commit bab13ee

Browse files
committed
Preserve cluster settings on full restart tests (#33590)
Today the full cluster restart tests do not preserve cluster settings on restart. This is a mistake because it is not an accurate reflection of reality, we do not expect users to clear cluster settings when they perform a full cluster restart. This commit makes it so that all full cluster restart tests preserve settings on upgrade.
1 parent e43a9bf commit bab13ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/framework/src/main/java/org/elasticsearch/upgrades/AbstractFullClusterRestartTestCase.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,9 @@ protected boolean preserveTemplatesUponCompletion() {
5757
return true;
5858
}
5959

60+
@Override
61+
protected boolean preserveClusterSettings() {
62+
return true;
63+
}
64+
6065
}

0 commit comments

Comments
 (0)