From a86632912fc9037cc3851820299cb2debb672ceb Mon Sep 17 00:00:00 2001 From: "Jonathan A. Sternberg" Date: Tue, 29 Mar 2016 10:03:43 -0400 Subject: [PATCH] Fix the difference test A recent bugfix to CREATE RETENTION POLICY caused this to fail when merged. This fixes the test. --- cmd/influxd/run/server_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmd/influxd/run/server_test.go b/cmd/influxd/run/server_test.go index bd902e3cc6..c156009abb 100644 --- a/cmd/influxd/run/server_test.go +++ b/cmd/influxd/run/server_test.go @@ -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