Skip to content

Commit

Permalink
[plugin-elasticsearch] fix No such container error
Browse files Browse the repository at this point in the history
  • Loading branch information
lufia committed Dec 15, 2022
1 parent f7f0313 commit 902904f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mackerel-plugin-elasticsearch/test.sh
Expand Up @@ -25,8 +25,7 @@ docker run -d \
-e "discovery.type=single-node" \
-e "ingest.geoip.downloader.enabled=false" \
elasticsearch:8.5.0
trap 'docker stop test-$plugin; docker rm test-$plugin; exit' EXIT
sleep 60
trap 'docker stop test-$plugin; docker rm test-$plugin; exit 1' 1 2 3 15

# to store previous value to calculate a diff of metrics
../tool/waituntil.bash -n 300 $plugin -scheme https -port $port -user=elastic -password $password -insecure -suppress-missing-error >/dev/null 2>&1
Expand Down

0 comments on commit 902904f

Please sign in to comment.