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...
1 parent 0b4d034 commit 4976d28596153de6179e7f0eaa26b984cdbef48e @behackett behackett committed Feb 22, 2013
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.