change the name of the series in the test

pull/302/head
John Shahid 2014-03-11 14:26:33 -04:00
parent 2fe6fdc325
commit 5c56bfab91
1 changed files with 5 additions and 5 deletions

View File

@ -587,17 +587,17 @@ func (self *ServerSuite) TestDeleteFullReplication(c *C) {
"points": [
["val1", 2]
],
"name": "test_delete_replication",
"name": "test_delete_full_replication",
"columns": ["val_1", "val_2"]
}]`
self.serverProcesses[0].Post("/db/full_rep/series?u=paul&p=pass", data, c)
collection := self.serverProcesses[0].Query("full_rep", "select count(val_1) from test_delete_replication", true, c)
series := collection.GetSeries("test_delete_replication", c)
collection := self.serverProcesses[0].Query("full_rep", "select count(val_1) from test_delete_full_replication", true, c)
series := collection.GetSeries("test_delete_full_replication", c)
c.Assert(series.GetValueForPointAndColumn(0, "count", c), Equals, float64(1))
self.serverProcesses[0].Query("full_rep", "delete from test_delete_replication", false, c)
self.serverProcesses[0].Query("full_rep", "delete from test_delete_full_replication", false, c)
for _, s := range self.serverProcesses {
collection = s.Query("full_rep", "select count(val_1) from test_delete_replication", true, c)
collection = s.Query("full_rep", "select count(val_1) from test_delete_full_replication", true, c)
c.Assert(collection.Members, HasLen, 0)
}
}