InfluxDB output should not default to 'no timeout' for http writes

default to 5s instead, since even if it times out we will cache the
points and move on

closes #685
This commit is contained in:
Cameron Sparr
2016-02-19 14:46:03 -07:00
committed by Michele Fadda
parent 659357c1d0
commit 9813420d25
3 changed files with 14 additions and 9 deletions

View File

@@ -92,14 +92,17 @@ docker-kill:
-docker rm nsq aerospike redis opentsdb rabbitmq postgres memcached mysql kafka mqtt riemann snmp
# Run full unit tests using docker containers (includes setup and teardown)
test: docker-kill docker-run
test: vet docker-kill docker-run
# Sleeping for kafka leadership election, TSDB setup, etc.
sleep 60
# SUCCESS, running tests
go test -race ./...
# Run "short" unit tests
test-short:
test-short: vet
go test -short ./...
vet:
go vet ./...
.PHONY: test