removing comments, test back to original state

pull/1540/head
Cory LaNou 2015-02-09 19:57:52 -07:00
parent c83de8695a
commit df7e8e3add
1 changed files with 0 additions and 4 deletions

View File

@ -799,10 +799,6 @@ func TestServer_ExecuteQuery(t *testing.T) {
s.MustWriteSeries("foo", "raw", []influxdb.Point{{Name: "cpu", Tags: map[string]string{"region": "us-east"}, Timestamp: mustParseTime("2000-01-01T00:00:10Z"), Values: map[string]interface{}{"value": float64(30)}}})
s.MustWriteSeries("foo", "raw", []influxdb.Point{{Name: "cpu", Tags: map[string]string{"region": "us-west"}, Timestamp: mustParseTime("2000-01-01T00:00:00Z"), Values: map[string]interface{}{"value": float64(100)}}})
// TODO corylanou: make this test work after it waits enough time to flush out writes.
// It is currently passing by accident, as the last write doesn't have enough time to show up and the tests below should not pass
// time.Sleep(1 * time.Second)
// Select data from the server.
results := s.ExecuteQuery(MustParseQuery(`SELECT sum(value) FROM cpu GROUP BY time(10s), region`), "foo", nil)
if res := results.Results[0]; res.Err != nil {