From 5e766ed5e011326c49a8de05c0659b2dbc029d50 Mon Sep 17 00:00:00 2001 From: adrienpetel Date: Mon, 4 Dec 2017 11:36:37 +0400 Subject: [PATCH] re-enable TestViewWithCollation SERVER-31049 is fixed in 3.4.10, so re-enable it --- session_test.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/session_test.go b/session_test.go index 75492d510..84aa1f8a7 100644 --- a/session_test.go +++ b/session_test.go @@ -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