Skip to content

Commit

Permalink
Fix runEqlCorrectnessNode run task and cluster configuration (elastic…
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby authored Sep 23, 2021
1 parent ef21797 commit dba7b1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/plugin/eql/qa/correctness/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ testClusters.configureEach {
user username: 'admin', password: 'admin-password', role: 'superuser'
}

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

tasks.named('javaRestTest').configure {
Expand All @@ -57,6 +57,6 @@ tasks.named('javaRestTest').configure {
}

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

0 comments on commit dba7b1c

Please sign in to comment.