diff --git a/server_test.go b/server_test.go index e104805536..302a3284f9 100644 --- a/server_test.go +++ b/server_test.go @@ -991,6 +991,7 @@ func TestServer_WriteAllDataTypes(t *testing.T) { s.MustWriteSeries("foo", "raw", []influxdb.Point{{Name: "series2", Timestamp: mustParseTime("2000-01-01T00:00:00Z"), Fields: map[string]interface{}{"value": int64(30)}}}) s.MustWriteSeries("foo", "raw", []influxdb.Point{{Name: "series3", Timestamp: mustParseTime("2000-01-01T00:00:00Z"), Fields: map[string]interface{}{"value": "baz"}}}) s.MustWriteSeries("foo", "raw", []influxdb.Point{{Name: "series4", Timestamp: mustParseTime("2000-01-01T00:00:00Z"), Fields: map[string]interface{}{"value": true}}}) + time.Sleep(time.Millisecond * 100) f := func(t *testing.T, database, query, expected string) { results := s.executeQuery(MustParseQuery(query), database, nil)