Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Skip text index test on mongos.

setParameter doesn't work through mongos so we
can't actually enable text search. SERVER-8660.
  • Loading branch information...
commit 4976d28596153de6179e7f0eaa26b984cdbef48e 1 parent 0b4d034
@behackett behackett authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  test/test_collection.py
View
3  test/test_collection.py
@@ -386,6 +386,9 @@ def test_index_text(self):
if not version.at_least(self.client, (2, 3, 2)):
raise SkipTest("Text search requires server >=2.3.2.")
+ if is_mongos(self.client):
+ raise SkipTest("setParameter does not work through mongos")
+
self.client.admin.command('setParameter', '*',
textSearchEnabled=True)

0 comments on commit 4976d28

Please sign in to comment.
Something went wrong with that request. Please try again.