Skip to content

Commit

Permalink
re-enable TestViewWithCollation
Browse files Browse the repository at this point in the history
SERVER-31049 is fixed in 3.4.10, so re-enable
it
  • Loading branch information
feliixx committed Dec 4, 2017
1 parent d2ccced commit 5e766ed
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1382,12 +1382,8 @@ func (s *S) TestView(c *C) {
}

func (s *S) TestViewWithCollation(c *C) {
// This test is currently failing because of a bug in mongodb. A ticket describing
// the issue is available here: https://jira.mongodb.org/browse/SERVER-31049
// TODO remove this line when SERVER-31049 is fixed
c.Skip("Fails because of a MongoDB bug as of version 3.4.9, cf https://jira.mongodb.org/browse/SERVER-31049")

if !s.versionAtLeast(3, 4) {
// SERVER-31049 is fixed in 3.4.10
if !s.versionAtLeast(3, 4, 10) {
c.Skip("depends on mongodb 3.4+")
}
// CreateView has to be run against mongos
Expand Down

0 comments on commit 5e766ed

Please sign in to comment.