From 64b921580fcdca730dc38e01ee74cc31e447c889 Mon Sep 17 00:00:00 2001 From: Cory LaNou Date: Mon, 8 Jun 2015 09:22:59 -0500 Subject: [PATCH] enable database drop tests --- cmd/influxd/run/server_test.go | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/cmd/influxd/run/server_test.go b/cmd/influxd/run/server_test.go index 84fe580fb3..7d37bfc6fe 100644 --- a/cmd/influxd/run/server_test.go +++ b/cmd/influxd/run/server_test.go @@ -38,22 +38,19 @@ func TestServer_DatabaseCommands(t *testing.T) { exp: `{"results":[{"error":"database already exists"}]}`, }, &Query{ - skip: true, - name: "drop database should succeed - FIXME pauldix", + name: "drop database should succeed", command: `DROP DATABASE db0`, exp: `{"results":[{}]}`, }, &Query{ - skip: true, - name: "show database should have no results - FIXME pauldix", + name: "show database should have no results", command: `SHOW DATABASES`, - exp: `FIXME`, + exp: `{"results":[{"series":[{"name":"databases","columns":["name"]}]}]}`, }, &Query{ - skip: true, - name: "drop database should error if it doesn't exist - FIXME pauldix", + name: "drop database should error if it doesn't exist", command: `DROP DATABASE db0`, - exp: `FIXME`, + exp: `{"results":[{"error":"database not found: db0"}]}`, }, }, }