From 276837ab03049d7956f84e5cbb24ac97a642a524 Mon Sep 17 00:00:00 2001 From: Todd Persen Date: Mon, 21 Apr 2014 13:51:43 -0400 Subject: [PATCH] Test the sequence numbers more explicitly. --- src/integration/multiple_servers_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/integration/multiple_servers_test.go b/src/integration/multiple_servers_test.go index 465c32a9cd0..a2f3268e9b1 100644 --- a/src/integration/multiple_servers_test.go +++ b/src/integration/multiple_servers_test.go @@ -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) {