Skip to content

Commit

Permalink
fix some test naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
toddboom committed May 19, 2015
1 parent 9dda3a1 commit f5d89d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/influxd/server_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,18 +463,18 @@ func runTestsData(t *testing.T, testName string, nodes Cluster, database, retent

// Selecting tags
{
name: "XXX selecting only a tag",
name: "selecting only a tag",
write: `{"database" : "%DB%", "retentionPolicy" : "%RP%", "points": [{"name": "gpu", "time": "2015-02-28T01:03:36.703820946Z", "tags": {"host": "server01"}, "fields": {"value": 100, "cores": 4}}]}`,
query: `SELECT host FROM "%DB%"."%RP%".gpu`,
expected: `{"results":[{"error":"select statement must include at least one field"}]}`,
},
{
name: "XXX selecting a tag and a field",
name: "selecting a tag and a field",
query: `SELECT host, value FROM "%DB%"."%RP%".gpu`,
expected: `{"results":[{"series":[{"name":"gpu","tags":{"host":"server01"},"columns":["time","value"],"values":[["2015-02-28T01:03:36.703820946Z",100]]}]}]}`,
},
{
name: "XXX selecting a tag and two fields",
name: "selecting a tag and two fields",
query: `SELECT host, value, cores FROM "%DB%"."%RP%".gpu`,
expected: `{"results":[{"series":[{"name":"gpu","tags":{"host":"server01"},"columns":["time","value","cores"],"values":[["2015-02-28T01:03:36.703820946Z",100,4]]}]}]}`,
},
Expand Down

0 comments on commit f5d89d4

Please sign in to comment.