Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1181

Test failure - test_collection.TestCollection.test_parallel_scan_max_time_ms

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4
    • Affects Version/s: None
    • Component/s: Tests
    • None

      This is my fault. I forgot to skip the test when connected to mongos.

      ======================================================================
      ERROR: test_parallel_scan_max_time_ms (test_collection.TestCollection)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/mnt/jenkins/workspace/mongo-python-driver-nightly/extensions/with-extensions/label/linux64/mongodb_configuration/sharded/mongodb_option/noauth/mongodb_server/master-nightly/python_language_version/2.7/test/__init__.py", line 306, in wrap
          return f(*args, **kwargs)
        File "/mnt/jenkins/workspace/mongo-python-driver-nightly/extensions/with-extensions/label/linux64/mongodb_configuration/sharded/mongodb_option/noauth/mongodb_server/master-nightly/python_language_version/2.7/test/__init__.py", line 306, in wrap
          return f(*args, **kwargs)
        File "/mnt/jenkins/workspace/mongo-python-driver-nightly/extensions/with-extensions/label/linux64/mongodb_configuration/sharded/mongodb_option/noauth/mongodb_server/master-nightly/python_language_version/2.7/test/test_collection.py", line 1614, in test_parallel_scan_max_time_ms
          maxTimeMS=1)
        File "/mnt/jenkins/languages/python/r2.7/lib/python2.7/unittest/case.py", line 473, in assertRaises
          callableObj(*args, **kwargs)
        File "/mnt/jenkins/workspace/mongo-python-driver-nightly/extensions/with-extensions/label/linux64/mongodb_configuration/sharded/mongodb_option/noauth/mongodb_server/master-nightly/python_language_version/2.7/pymongo/collection.py", line 1297, in parallel_scan
          read_concern=self.read_concern)
        File "/mnt/jenkins/workspace/mongo-python-driver-nightly/extensions/with-extensions/label/linux64/mongodb_configuration/sharded/mongodb_option/noauth/mongodb_server/master-nightly/python_language_version/2.7/pymongo/collection.py", line 232, in _command
          collation=collation)
        File "/mnt/jenkins/workspace/mongo-python-driver-nightly/extensions/with-extensions/label/linux64/mongodb_configuration/sharded/mongodb_option/noauth/mongodb_server/master-nightly/python_language_version/2.7/pymongo/pool.py", line 419, in command
          collation=collation)
        File "/mnt/jenkins/workspace/mongo-python-driver-nightly/extensions/with-extensions/label/linux64/mongodb_configuration/sharded/mongodb_option/noauth/mongodb_server/master-nightly/python_language_version/2.7/pymongo/network.py", line 112, in command
          parse_write_concern_error=parse_write_concern_error)
        File "/mnt/jenkins/workspace/mongo-python-driver-nightly/extensions/with-extensions/label/linux64/mongodb_configuration/sharded/mongodb_option/noauth/mongodb_server/master-nightly/python_language_version/2.7/pymongo/helpers.py", line 210, in _check_command_response
          raise OperationFailure(msg % errmsg, code, response)
      OperationFailure: no such cmd: parallelCollectionScan
      

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: