[JAVA-3742] Make ChangeStreamOperation tests more resilient Created: 24/May/20 Updated: 28/Oct/23 Resolved: 26/May/20 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Test Coverage |
| Affects Version/s: | None |
| Fix Version/s: | 3.12.5, 4.0.4, 4.1.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
ChangeStreamOperationSpecification tests fail occasionally because they assume that expected documents will be returned by the server in a single batch, even though the server makes no such guarantees (and in practice, does not behave consistently in this regard in single-sharded clusters). The tests should be made more resilient by removing the assumption about single batches and instead combining multiple batches until the expected number of change stream documents have been received. |
| Comments |
| Comment by Githook User [ 26/May/20 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Fix test calling List.tail() List.tail is not the same as List.tail() in Groovy
|
| Comment by Githook User [ 26/May/20 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Fix test calling List.tail() List.tail is not the same as List.tail() in Groovy
|
| Comment by Githook User [ 26/May/20 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}Message: Make ChangeStreamOperationSpecification more resilient Remove assumption that expected change stream documents are
|
| Comment by Githook User [ 26/May/20 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Fix test calling List.tail() List.tail is not the same as List.tail() in Groovy
|
| Comment by Githook User [ 26/May/20 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}Message: Make ChangeStreamOperationSpecification more resilient Remove assumption that expected change stream documents are
|
| Comment by Githook User [ 26/May/20 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}Message: Make ChangeStreamOperationSpecification more resilient Remove assumption that expected change stream documents are
|