From f031c17681338d894920e643f8e6e1bc4fdf4789 Mon Sep 17 00:00:00 2001 From: Britta Weber Date: Tue, 18 Aug 2015 15:40:41 +0200 Subject: [PATCH 1/2] check with jps that the pid file contains a pid that actually is an elasticsearch process relates to #12063 --- .../main/resources/ant/integration-tests.xml | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/dev-tools/src/main/resources/ant/integration-tests.xml b/dev-tools/src/main/resources/ant/integration-tests.xml index 3da39286400..37fa2e15ce1 100644 --- a/dev-tools/src/main/resources/ant/integration-tests.xml +++ b/dev-tools/src/main/resources/ant/integration-tests.xml @@ -227,6 +227,27 @@ Shutting down external node PID ${integ.pid} + + + + + + + + + + + + + + + + + + @@ -279,8 +300,6 @@ - From 04141b61c4ea7e622d884cefad40494d8fdd5964 Mon Sep 17 00:00:00 2001 From: Britta Weber Date: Tue, 18 Aug 2015 18:58:09 +0200 Subject: [PATCH 2/2] make property local and use java home to find jps --- .../src/main/resources/ant/integration-tests.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/dev-tools/src/main/resources/ant/integration-tests.xml b/dev-tools/src/main/resources/ant/integration-tests.xml index 37fa2e15ce1..3cc6133b7b4 100644 --- a/dev-tools/src/main/resources/ant/integration-tests.xml +++ b/dev-tools/src/main/resources/ant/integration-tests.xml @@ -229,9 +229,14 @@ Shutting down external node PID ${integ.pid} - + + + + + + - + @@ -243,9 +248,7 @@ message="pid file at @{es.pidfile} is ${integ.pid} but jps -l did not report any process with org.elasticsearch.bootstrap.Elasticsearch and this pid. Did you run mvn clean? Maybe an old pid file is still lying around."> - - - +