Skip to content
Snippets Groups Projects
Commit 7c6fc350 authored by Stephen C Phillips's avatar Stephen C Phillips
Browse files

Adds 5 second sleep so that kapacitor has time to start

parent b1664455
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,10 @@ echo $TEST_DIR"/kapacitor.conf"
cp $TEST_DIR/kapacitor.conf /etc/kapacitor/kapacitor.conf
systemctl start kapacitor
# wait for kapacitor to restart
# TODO: do this better
sleep 5
# Set up Influx data source
curl -i -X POST -H "Content-Type: application/json" http://localhost:8888/chronograf/v1/sources -d @$TEST_DIR/influx.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment