Skip to content

Commit 3489245

Browse files
committed
fix the build.gradle for testClusters
avoid having a weird 405 HTTP on 'GET /' when you './gradlew run'.
1 parent d51f450 commit 3489245

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,10 @@ tasks.named("yamlRestTest").configure {
7474
tasks.named("test").configure {
7575
systemProperty 'tests.security.manager', 'false'
7676
}
77+
78+
// Make sure the ES distribution used for rest tests is the "complete" variant
79+
testClusters.configureEach {
80+
testDistribution = 'DEFAULT'
81+
// disable security to disable failing warnings
82+
setting 'xpack.security.enabled', 'false'
83+
}

0 commit comments

Comments
 (0)