summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/elasticsearch-curator')
-rw-r--r--dev-python/elasticsearch-curator/elasticsearch-curator-3.4.0.ebuild4
-rw-r--r--dev-python/elasticsearch-curator/elasticsearch-curator-3.4.1.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/dev-python/elasticsearch-curator/elasticsearch-curator-3.4.0.ebuild b/dev-python/elasticsearch-curator/elasticsearch-curator-3.4.0.ebuild
index 9dbbb26e78d5..6e46527e3141 100644
--- a/dev-python/elasticsearch-curator/elasticsearch-curator-3.4.0.ebuild
+++ b/dev-python/elasticsearch-curator/elasticsearch-curator-3.4.0.ebuild
@@ -56,7 +56,7 @@ python_test() {
# start local instance of elasticsearch
${ES}/bin/elasticsearch -d -p ${PID}
- for i in `seq 10`; do
+ for i in {1..10}; do
grep -q "started" ${ES_LOG} 2> /dev/null
if [ $? -eq 0 ]; then
einfo "Elasticsearch started"
@@ -75,7 +75,7 @@ python_test() {
done
export TEST_ES_SERVER="localhost:${ES_PORT}"
- esetup.py test
+ esetup.py test || die
pkill -F ${PID}
}
diff --git a/dev-python/elasticsearch-curator/elasticsearch-curator-3.4.1.ebuild b/dev-python/elasticsearch-curator/elasticsearch-curator-3.4.1.ebuild
index 3c1d8ab261fc..5e7893ad2264 100644
--- a/dev-python/elasticsearch-curator/elasticsearch-curator-3.4.1.ebuild
+++ b/dev-python/elasticsearch-curator/elasticsearch-curator-3.4.1.ebuild
@@ -59,7 +59,7 @@ python_test() {
# start local instance of elasticsearch
${ES}/bin/elasticsearch -d -p ${PID}
- for i in `seq 10`; do
+ for i in {1..10}; do
grep -q "started" ${ES_LOG} 2> /dev/null
if [ $? -eq 0 ]; then
einfo "Elasticsearch started"
@@ -78,7 +78,7 @@ python_test() {
done
export TEST_ES_SERVER="localhost:${ES_PORT}"
- esetup.py test
+ esetup.py test || die
pkill -F ${PID}
}