[JAVA-4011] Prepare the change stream code for tests in the unified format Created: 11/Feb/21 Updated: 28/Oct/23 Resolved: 16/Feb/21 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Test Coverage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Valentin Kavalenka | Assignee: | Valentin Kavalenka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Documentation Changes: | Not Needed | ||||||||
| Description |
|
Currently we cannot just put a change-streams.json file in the unified test format somewhere in the driver repo and expect it to be run because:
|
| Comments |
| Comment by Githook User [ 16/Feb/21 ] |
|
Author: {'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}Message: Prepare the change stream code for tests in the unified format (#665) This commit creates two unified runners for change stream tests and allows putting unified change stream tests in driver-core/src/test/resources/unified-test-format/change-streams. This commit also implements SyncChangeStreamIterable.withDocumentClass as this method is used by the UnifiedTest runner (see UnifiedCrudHelper.executeChangeStream).
|