File tree 1 file changed +9
-1
lines changed
buildSrc/src/main/groovy/org/elasticsearch/hadoop/gradle/fixture 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,16 @@ class ElasticsearchFixturePlugin implements Plugin<Project> {
81
81
clusterConfig. setting(" http.type" ," netty4" )
82
82
clusterConfig. setting(" script.inline" , " true" )
83
83
clusterConfig. setting(" node.ingest" , " true" )
84
- } else if (majorVersion >= 6 ) {
84
+ clusterConfig. setting(" script.max_compilations_rate" , null )
85
+ } else if (majorVersion == 6 ) {
85
86
clusterConfig. setting(" node.ingest" , " true" )
87
+ clusterConfig. setting(" http.host" , " localhost" )
88
+ clusterConfig. systemProperty(' es.http.cname_in_publish_address' , ' true' )
89
+ } else if (majorVersion >= 7 ) {
90
+ clusterConfig. setting(" node.ingest" , " true" )
91
+ clusterConfig. setting(" http.host" , " localhost" )
92
+ // TODO: Remove this when this is the default in 7
93
+ clusterConfig. systemProperty(' es.http.cname_in_publish_address' , ' true' )
86
94
}
87
95
88
96
// Also write a script to a file for use in tests
You can’t perform that action at this time.
0 commit comments