Skip to content
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.

Commit

Permalink
fix: fix restarting InfluxDB
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar committed Dec 6, 2019
1 parent e488e64 commit 25df84c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ install: true
script:
- ./scripts/influxdb-restart.sh
- mvn -B clean verify failsafe:integration-test failsafe:verify
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -s https://codecov.io/bash) || true

jobs:
include:
Expand Down
6 changes: 4 additions & 2 deletions scripts/nifi-restart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ docker run \
--volume ${SCRIPT_PATH}/../nifi-influx-database-services/src/test/resources/influxdb.conf:/etc/influxdb/influxdb.conf \
${INFLUXDB_IMAGE}

sleep 5
echo "Wait to start InfluxDB"
wget -S --spider --tries=20 --retry-connrefused --waitretry=5 http://localhost:8086/ping

#
# InfluxDB 2.0
Expand All @@ -97,7 +98,8 @@ docker run \
--publish 9999:9999 \
${INFLUXDB_V2_IMAGE}

sleep 5
echo "Wait to start InfluxDB 2.0"
wget -S --spider --tries=20 --retry-connrefused --waitretry=5 http://localhost:9999/metrics

echo
echo "Post onBoarding request, to setup initial user (my-user@my-password), org (my-org) and bucket (my-bucket)"
Expand Down

0 comments on commit 25df84c

Please sign in to comment.