Skip to content

Commit dd9af53

Browse files
committed
Skip parallel_scan test on mongos.
1 parent 51c66fe commit dd9af53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_collection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,6 +1382,8 @@ def test_aggregation_cursor(self):
13821382
sum(doc['_id'] for doc in cursor))
13831383

13841384
def test_parallel_scan(self):
1385+
if is_mongos(self.db.connection):
1386+
raise SkipTest("mongos does not support parallel_scan")
13851387
if not version.at_least(self.db.connection, (2, 5, 5)):
13861388
raise SkipTest("Requires MongoDB >= 2.5.5")
13871389
db = self.db

0 commit comments

Comments
 (0)