[DRIVERS-2313] Add unified test format valid-fail test for unsupported operation Created: 04/May/22 Updated: 04/Jan/23 |
|
| Status: | Implementing |
| Project: | Drivers |
| Component/s: | Unified Test Runner |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Benji Rewis (Inactive) | Assignee: | Jeremy Mikola |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | yaml-test | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||
| Downstream Changes Summary: | A new operation-unsupported test file was added to the valid-fail directory of the unified test format. Drivers should sync with mongodb/specifications@5dbdfdb. |
||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
SummaryDrivers should be able to correctly fail or skip a test when an operation within the test is unsupported. We should add a test similar to operation-failure that tests that an unsupported driver operation (like unsupportedOperation) correctly fails. MotivationWho is the affected end user?Driver devs. How does this affect the end user?Does not. How likely is it that this problem or use case will occur?This issue came up in a recent PR that tests the modifyCollection operation present in only some drivers. If the problem does occur, what are the consequences and how severe are they?Drivers may not be able to even sync tests with unsupported operations because they are not able to decode the file. Is this issue urgent?No. Is this ticket required by a downstream team?No. Is this ticket only for tests?Yes. |
| Comments |
| Comment by Githook User [ 06/May/22 ] |
|
Author: {'name': 'Jeremy Mikola', 'email': 'jmikola@gmail.com', 'username': 'jmikola'}Message: DRIVERS-2313: valid-fail test for unsupported operation (#1208) |
| Comment by Jeremy Mikola [ 05/May/22 ] |