Run the query as root

pull/605/head
John Shahid 2014-05-30 16:34:55 -04:00
parent e43d07bc05
commit af78db4761
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ func (self *ServerSuite) TestLargeRequestSize(c *C) {
s.WaitForServerToSync() s.WaitForServerToSync()
} }
for _, s := range self.serverProcesses { for _, s := range self.serverProcesses {
data = s.RunQuery("select count(column0) from test_large_requests", "m", c) data = s.RunQueryAsRoot("select count(column0) from test_large_requests", "m", c)
c.Assert(data, HasLen, 1) c.Assert(data, HasLen, 1)
c.Assert(data[0].Points, HasLen, 1) c.Assert(data[0].Points, HasLen, 1)
c.Assert(data[0].Points[0][1], Equals, float64(numberOfPoints)) c.Assert(data[0].Points[0][1], Equals, float64(numberOfPoints))