We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2d561e commit 068e1abCopy full SHA for 068e1ab
1 file changed
tests/CI/envs/opensearchproject/opensearch:2.1.0.env
@@ -6,4 +6,6 @@ cluster.routing.allocation.disk.watermark.high=300mb
6
plugins.security.disabled=true
7
# Elasticsearch allocates 1GB of memory by default. As resources are limited
8
# and elasticsearch performance isn't critical in CI, limit this to 256MB
9
-OPENSEARCH_JAVA_OPTS="-Xms256m -Xmx256m" # minimum and maximum Java heap size
+# -XX:-UseContainerSupport works around a JDK cgroup v2 NPE in OpenSearch 2.1.0
10
+# (ProcessProbe <clinit> crashes on newer GitHub runners with cgroup v2)
11
+OPENSEARCH_JAVA_OPTS="-Xms256m -Xmx256m -XX:-UseContainerSupport"
0 commit comments