Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Brooks committed Oct 2, 2024
1 parent c7e5bd6 commit 3b0925a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ public void testMemoryLimitSettingsFallbackToOldSingleLimitSetting() {
}

public void testPrimaryMemoryLimitSettingsDefaultForStateless() {
Settings settingsDefault = Settings.builder()
.put(DiscoveryNode.STATELESS_ENABLED_SETTING_NAME, true)
.build();
Settings settingsDefault = Settings.builder().put(DiscoveryNode.STATELESS_ENABLED_SETTING_NAME, true).build();

assertThat(IndexingPressure.MAX_COORDINATING_BYTES.getDefaultRaw(settingsDefault), equalTo("10%"));
assertThat(IndexingPressure.MAX_PRIMARY_BYTES.getDefaultRaw(settingsDefault), equalTo("15%"));
Expand Down

0 comments on commit 3b0925a

Please sign in to comment.