Skip to content

Commit

Permalink
SuppressForbidden for the system property
Browse files Browse the repository at this point in the history
Signed-off-by: kkewwei <[email protected]>
  • Loading branch information
kkewwei committed Jul 25, 2024
1 parent 9106fd0 commit 882fedd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import org.opensearch.client.Response;
import org.opensearch.client.ResponseException;
import org.opensearch.client.RestClient;
import org.opensearch.common.SuppressForbidden;
import org.opensearch.test.OpenSearchIntegTestCase;

import java.io.IOException;
Expand All @@ -26,6 +27,7 @@
public class HttpCatIT extends HttpSmokeTestCase {

@BeforeClass
@SuppressForbidden(reason = "Need to set system property here for the cluster with multi nodes")
public static void doNotSetAvailableProcessors() {
System.setProperty("opensearch.set.netty.runtime.available.processors", "false");
}
Expand Down

0 comments on commit 882fedd

Please sign in to comment.