Fix the difference test

A recent bugfix to CREATE RETENTION POLICY caused this to fail when
merged. This fixes the test.
pull/6146/head
Jonathan A. Sternberg 2016-03-29 10:03:43 -04:00
parent 9ddc59aab5
commit a86632912f
1 changed files with 0 additions and 8 deletions

View File

@ -1874,10 +1874,6 @@ func TestServer_Query_SelectGroupByTimeDifference(t *testing.T) {
s := OpenServer(NewConfig())
defer s.Close()
if err := s.CreateDatabaseAndRetentionPolicy("db0", newRetentionPolicyInfo("rp0", 1, 1*time.Hour)); err != nil {
t.Fatal(err)
}
test := NewTest("db0", "rp0")
test.writes = Writes{
&Write{data: fmt.Sprintf(`cpu value=10 1278010020000000000
@ -1959,10 +1955,6 @@ func TestServer_Query_SelectGroupByTimeDifferenceWithFill(t *testing.T) {
s := OpenServer(NewConfig())
defer s.Close()
if err := s.CreateDatabaseAndRetentionPolicy("db0", newRetentionPolicyInfo("rp0", 1, 1*time.Hour)); err != nil {
t.Fatal(err)
}
test := NewTest("db0", "rp0")
test.writes = Writes{
&Write{data: fmt.Sprintf(`cpu value=10 1278010020000000000