Skip to content

Commit

Permalink
Failing test example for sharding issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
sharnik committed Oct 6, 2014
1 parent d0ff317 commit 2863f8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration/single_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,8 @@ func (self *SingleServerSuite) TestUserWritePermissions(c *C) {
c.Assert(user.WriteSeries(series), IsNil)
content := self.server.RunQueryAsRoot("select * from test_should_write", "m", c)
c.Assert(content, HasLen, 1)
failing_content := self.server.RunQueryAsRoot("select * from test_should_write where time > '1990-12-01' and time < '1990-12-12'", "m", c)
c.Assert(failing_content, HasLen, 0)
invalidSeries := []*influxdb.Series{}
c.Assert(json.Unmarshal([]byte(invalidData), &invalidSeries), IsNil)
c.Assert(user.WriteSeries(invalidSeries), NotNil)
Expand Down

0 comments on commit 2863f8e

Please sign in to comment.