Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
rjernst committed Nov 7, 2023
1 parent 9da94f7 commit 998f873
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

package org.elasticsearch.server.cli;

import org.elasticsearch.bootstrap.ServerArgs;
import org.elasticsearch.common.settings.MockSecureSettings;
import org.elasticsearch.common.settings.SecureSettings;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.util.concurrent.EsExecutors;
import org.elasticsearch.core.Strings;
Expand Down Expand Up @@ -361,7 +364,7 @@ public void testNodeProcessorsActiveCount() {
}
{
// check rounding
Settings nodeSettings = Settings.builder().put(EsExecutors.NODE_PROCESSORS_SETTING.getKey(), 0.5).build();
Settings nodeSettings = Settings.builder().put(EsExecutors.NODE_PROCESSORS_SETTING.getKey(), 0.2).build();
final List<String> jvmOptions = SystemJvmOptions.systemJvmOptions(nodeSettings);
assertThat(jvmOptions, hasItem("-XX:ActiveProcessorCount=1"));
}
Expand Down

0 comments on commit 998f873

Please sign in to comment.