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
- is caused by
-
SERVER-32088 ChangeStream resumeAfter does not work on sharded collections if not all shards have chunks for the collection
- Closed