mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-20 03:45:02 +00:00
Revert "Build: Fail integ test if elasticsearch fails to start on windows"
This reverts commit f974d5e47041c3910dc136bb374937daa1a06b34. Apprently spawn does not support failonerror in ant.
This commit is contained in:
parent
af3b126a15
commit
c71cc0f21d
@ -139,7 +139,7 @@ class ClusterFormationTasks {
|
||||
// elasticsearch.bat is spawned as it has no daemon mode
|
||||
start = project.tasks.create(name: "${task.name}#start", type: DefaultTask, dependsOn: setup) << {
|
||||
// Fall back to Ant exec task as Gradle Exec task does not support spawning yet
|
||||
ant.exec(executable: 'cmd', spawn: true, dir: home, failonerror: true) {
|
||||
ant.exec(executable: 'cmd', spawn: true, dir: home) {
|
||||
esEnv.each { key, value -> env(key: key, value: value) }
|
||||
(['/C', 'call', 'bin/elasticsearch'] + esArgs).each { arg(value: it) }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user