Skip to content

Commit

Permalink
wait for up to 2m when killing prometheus, for big ammount of data
Browse files Browse the repository at this point in the history
  • Loading branch information
amnonh committed Feb 10, 2019
1 parent ab46e54 commit d12c5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kill-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ done
docker exec $PROMETHEUS_NAME kill 1
TRIES=0
OK=0
until [ $OK -eq 1 ] || [ $TRIES -eq 10 ]; do
until [ $OK -eq 1 ] || [ $TRIES -eq 120 ]; do
if VAL=`docker logs aprom|&tail -1 |grep 'See you next time'`; then
if [ -z "$VAL" ]; then
printf '.'
Expand Down

0 comments on commit d12c5e7

Please sign in to comment.