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

Test Failure - TestChangeStream.test_aggregate_cursor_blocks and test_next_blocks

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

      TestChangeStream.test_aggregate_cursor_blocks and test_next_blocks are failing against MongoDB 4.1-latest sharded.

       FAILURE: True is not false (AssertionError)
       Traceback (most recent call last):
         File "/data/mci/df477c885b6d5d0dcce66948e60866ab/src/test/test_change_stream.py", line 167, in test_aggregate_cursor_blocks
           self.assertFalse(t.is_alive())
       AssertionError: True is not false
       
       Stderr:
       Exception in thread Thread-5:
       Traceback (most recent call last):
         File "/opt/python/3.4/lib/python3.4/threading.py", line 911, in _bootstrap_inner
           self.run()
         File "/opt/python/3.4/lib/python3.4/threading.py", line 859, in run
           self._target(*self._args, **self._kwargs)
         File "/data/mci/df477c885b6d5d0dcce66948e60866ab/src/test/test_change_stream.py", line 162, in <lambda>
           target=lambda: changes.append(change_stream.next()))
         File "/data/mci/df477c885b6d5d0dcce66948e60866ab/src/pymongo/command_cursor.py", line 289, in next
           self._refresh()
         File "/data/mci/df477c885b6d5d0dcce66948e60866ab/src/pymongo/command_cursor.py", line 236, in _refresh
           self.__max_await_time_ms))
         File "/data/mci/df477c885b6d5d0dcce66948e60866ab/src/pymongo/command_cursor.py", line 158, in __send_message
           helpers._check_command_response(first)
         File "/data/mci/df477c885b6d5d0dcce66948e60866ab/src/pymongo/helpers.py", line 155, in _check_command_response
           raise OperationFailure(msg % errmsg, code, response)
       pymongo.errors.OperationFailure: operation was interrupted
      

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: