closes #771
This commit is contained in:
Pierre Fersing 2016-02-29 22:02:33 +01:00 committed by Cameron Sparr
parent ca3a80fbe1
commit fe43fb47e1
3 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@
### Features ### Features
- [#692](https://github.com/influxdata/telegraf/pull/770): Support InfluxDB retention policies - [#692](https://github.com/influxdata/telegraf/pull/770): Support InfluxDB retention policies
- [#771](https://github.com/influxdata/telegraf/pull/771): Default timeouts for input plugns. Thanks @PierreF!
### Bugfixes ### Bugfixes
- [#748](https://github.com/influxdata/telegraf/issues/748): Fix sensor plugin split on ":" - [#748](https://github.com/influxdata/telegraf/issues/748): Fix sensor plugin split on ":"

View File

@ -34,6 +34,9 @@ func (t *transportMock) RoundTrip(r *http.Request) (*http.Response, error) {
return res, nil return res, nil
} }
func (t *transportMock) CancelRequest(_ *http.Request) {
}
func TestElasticsearch(t *testing.T) { func TestElasticsearch(t *testing.T) {
es := NewElasticsearch() es := NewElasticsearch()
es.Servers = []string{"http://example.com:9200"} es.Servers = []string{"http://example.com:9200"}

View File

@ -92,7 +92,7 @@ func TestMysqlDNSAddTimeout(t *testing.T) {
}{ }{
{ {
"", "",
"/?timeout=5", "/?timeout=5s",
}, },
{ {
"tcp(192.168.1.1:3306)/", "tcp(192.168.1.1:3306)/",