Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1675,6 +1675,9 @@ public void testForbidDisableSoftDeletesOnRestore() throws Exception {
* translated properly. This test can be removed in 9.0.
*/
public void testTransportCompressionSetting() throws IOException {
assumeTrue("the old transport.compress setting existed before 7.14", getOldClusterVersion().before(Version.V_7_14_0));
assumeTrue("Early versions of 6.x do not have cluster.remote* prefixed settings",
getOldClusterVersion().onOrAfter(Version.V_7_14_0.minimumCompatibilityVersion()));
if (isRunningAgainstOldCluster()) {
final Request putSettingsRequest = new Request("PUT", "/_cluster/settings");
try (XContentBuilder builder = jsonBuilder()) {
Expand Down