Skip to content

Commit

Permalink
Test the sequence numbers more explicitly.
Browse files Browse the repository at this point in the history
  • Loading branch information
toddboom committed Apr 21, 2014
1 parent 03435de commit 276837a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/integration/multiple_servers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -835,18 +835,22 @@ func (self *ServerSuite) TestContinuousQuerySequenceNumberAssignmentWithInterpol
collection = self.serverProcesses[0].Query("test_cq", "select * from points.count.a;", false, c)
series = collection.GetSeries("points.count.a", c)
c.Assert(series.Points, HasLen, 1)
c.Assert(series.Points[0][1], Equals, float64(1))

collection = self.serverProcesses[0].Query("test_cq", "select * from points.count.aa;", false, c)
series = collection.GetSeries("points.count.aa", c)
c.Assert(series.Points, HasLen, 1)
c.Assert(series.Points[0][1], Equals, float64(1))

collection = self.serverProcesses[0].Query("test_cq", "select * from points.count.b;", false, c)
series = collection.GetSeries("points.count.b", c)
c.Assert(series.Points, HasLen, 1)
c.Assert(series.Points[0][1], Equals, float64(1))

collection = self.serverProcesses[0].Query("test_cq", "select * from points.count.bb;", false, c)
series = collection.GetSeries("points.count.bb", c)
c.Assert(series.Points, HasLen, 1)
c.Assert(series.Points[0][1], Equals, float64(1))
}

func (self *ServerSuite) TestGetServers(c *C) {
Expand Down

0 comments on commit 276837a

Please sign in to comment.