-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
PYTHON-1662 added the try_next method and alive property to change stream cursors. We need to update motor to account for this:
FAIL: test_change_stream_attrs (tornado_tests.test_motor_core.MotorCoreTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/shane/git/motor/venv3.7/lib/python3.7/site-packages/tornado/testing.py", line 98, in __call__ result = self.orig_method(*args, **kwargs) File "/Users/shane/git/motor/test/test_environment.py", line 261, in wrap return f(*args, **kwargs) File "/Users/shane/git/motor/test/test_environment.py", line 261, in wrap return f(*args, **kwargs) File "/Users/shane/git/motor/test/tornado_tests/test_motor_core.py", line 125, in test_change_stream_attrs attrs(self.cx.test.test.watch()) - motor_only) AssertionError: Items in the first set but not the second: 'alive' 'try_next'
- is caused by
-
PYTHON-1662 Add method to request the next ChangeStream document without blocking forever
- Closed
- is duplicated by
-
MOTOR-376 Add try_next to core.AgnosticChangeStream
- Closed