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

Test Failure - TestChangeStream.test_aggregate_cursor_blocks and test_next_blocks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7
    • Component/s: Tests
    • Labels:
      None

      Description

      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
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: