[DRIVERS-2644] Downgrade to the lowest supported schema version Created: 07/Jun/23 Updated: 28/Oct/23 Resolved: 13/Jun/23 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | Unified Test Runner |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Jérôme Tamarelle | Assignee: | Jérôme Tamarelle |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Driver Changes: | Not Needed | ||||||||||||||||
| Description |
SummaryWhen a new schema version is introduced in unified-test-format, new spec documents tend to be stamped with the latest version even if the document does not use the new fields of the new versions. Example with command-logging-and-monitoring/tests/monitoring/writeConcernError, this file is valid with schemaVersion 1.4 but it have been created with schemaVersion 1.13 MotivationWho is the affected end user?Driver developers have to implement the test logic of the new versions even if their task is to implement an unified test case that doesn't require it. Alternatively the "max supported schema version" can be artificially updated. https://github.com/mongodb/mongo-php-library/pull/1090#discussion_r1213254002 How does this affect the end user?Require more work than necessary for driver developers. How likely is it that this problem or use case will occur?Every time a new unified test is added without checking the minimum schema version required. If the problem does occur, what are the consequences and how severe are they?Developer efficiency or test reliability issue. Is this issue urgent?No. Is this ticket required by a downstream team?No. Is this ticket only for tests?Yes. Acceptance CriteriaWhat specific requirements must be met to consider the design phase complete? |
| Comments |
| Comment by Jérôme Tamarelle [ 13/Jun/23 ] |
|
"schemaVersion" updated in unified spec test files. This doesn't need to be sync with driver tests. |
| Comment by Githook User [ 13/Jun/23 ] |
|
Author: {'name': 'Jérôme Tamarelle', 'email': 'jerome@tamarelle.net', 'username': 'GromNaN'}Message: CI Script to be created later as part of DRIVERS-2649 |
| Comment by Jérôme Tamarelle [ 12/Jun/23 ] |