Skip to content

Commit dba7b1c

Browse files
authored
Fix runEqlCorrectnessNode run task and cluster configuration (#78249)
1 parent ef21797 commit dba7b1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

x-pack/plugin/eql/qa/correctness/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ testClusters.configureEach {
4444
user username: 'admin', password: 'admin-password', role: 'superuser'
4545
}
4646

47-
tasks.withType(RunTask).configureEach {
48-
jvmArgs '-Xms8g', '-Xmx8g'
47+
def runTaskCluster = testClusters.register('runTask') {
48+
jvmArgs '-Xms8g', '-Xmx8g'
4949
}
5050

5151
tasks.named('javaRestTest').configure {
@@ -57,6 +57,6 @@ tasks.named('javaRestTest').configure {
5757
}
5858

5959
tasks.register("runEqlCorrectnessNode", RunTask) {
60-
useCluster testClusters.named('runTask')
60+
useCluster runTaskCluster
6161
description = 'Runs elasticsearch in the foreground with gcs plugin and keystore credentials'
6262
}

0 commit comments

Comments
 (0)