Browse Source

Remove unsupported env. var from node spinup

This commit removes setting ES_GC_OPTS from NodeInfo.groovy as this
environment variable is no longer supported.
Jason Tedor 9 years ago
parent
commit
1224cc8f7a

+ 1 - 2
buildSrc/src/main/groovy/org/elasticsearch/gradle/test/NodeInfo.groovy

@@ -130,8 +130,7 @@ class NodeInfo {
         }
 
         env = [
-            'JAVA_HOME' : project.javaHome,
-            'ES_GC_OPTS': config.jvmArgs // we pass these with the undocumented gc opts so the argline can set gc, etc
+            'JAVA_HOME' : project.javaHome
         ]
         args.addAll("-E", "es.node.portsfile=true")
         env.put('ES_JAVA_OPTS', config.systemProperties.collect { key, value -> "-D${key}=${value}" }.join(" "))