[JAVA-2827] Fix maxAwaitTime test for AggregateOperation to make sure the pipeline creates a tailable cursor Created: 12/Apr/18 Updated: 28/Oct/23 Resolved: 22/Jun/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Test Coverage |
| Affects Version/s: | None |
| Fix Version/s: | 3.8.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ross Lawley | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Updated Description The server does not support setting maxTimeMS on getMore unless the cursor is tailable. This is exposed via the maxAwaitTime option for aggregate helper. Update the test for this to ensure that the aggregate pipeline creates a tailable cursor by adding a $changeStream stage. Original Description Latest MongoD's reporting errors and failing in Evergreen.
Commands sent to server:
|
| Comments |
| Comment by Githook User [ 22/Jun/18 ] | |||||||||
|
Author: {'username': 'jyemin', 'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com'}Message: The server only supports maxTimeMS on getMore for tailable cursors, Note that this is not a particularly good test, since it doesn't | |||||||||
| Comment by Jeffrey Yemin [ 12/Apr/18 ] | |||||||||
|
CC david.storch Failed against:
Last succeeded against:
If I had to guess I'd pick this commit:
| |||||||||
| Comment by Githook User [ 12/Apr/18 ] | |||||||||
|
Author: {'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin', 'username': 'jyemin'}Message: Will change or re-enable once we determine whether the server will |