-
Type: Task
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Component/s: Retryability
-
None
-
Needed
-
Summary
The unified spec tests introduced in ab48c57 for DRIVERS-1385 incorrectly specify top-level runOnRequirements that are more restrictive than the test-level runOnRequirements.
Those tests may have been copied from the original poc-retryable-writes.yml tests introduced in e4808b8 for DRIVERS-709, which have the same issue.
This is contrary to the advice in the Unified Test Format spec:
[Test-level] requirements SHOULD be more restrictive than those specified in the top-level runOnRequirements (if any) and SHOULD NOT be more permissive. This is advised because both sets of requirements MUST be satisified in order for a test to be executed and more permissive requirements at the test-level could be taken out of context on their own.
As currently written, the spec tests will never run on sharded clusters and load balancers because the top-level runOnRequirements require a replica set.
Motivation
Is this issue urgent?
No.
Is this ticket required by a downstream team?
No.
Is this ticket only for tests?
Yes.
- is related to
-
DRIVERS-1385 Make retryable write test error labels behave consistently with server
- Implementing
- split to
-
CSHARP-4887 Test-level runOnRequirements in retryable writes tests should not be more permissive than top-level runOnRequirements
- Backlog
-
CXX-2798 Test-level runOnRequirements in retryable writes tests should not be more permissive than top-level runOnRequirements
- Backlog
-
GODRIVER-3073 Test-level runOnRequirements in retryable writes tests should not be more permissive than top-level runOnRequirements
- Backlog
-
RUST-1811 Test-level runOnRequirements in retryable writes tests should not be more permissive than top-level runOnRequirements
- Backlog
-
CDRIVER-4798 Test-level runOnRequirements in retryable writes tests should not be more permissive than top-level runOnRequirements
- Closed
-
JAVA-5272 Test-level runOnRequirements in retryable writes tests should not be more permissive than top-level runOnRequirements
- Closed
-
MOTOR-1226 Test-level runOnRequirements in retryable writes tests should not be more permissive than top-level runOnRequirements
- Closed
-
NODE-5797 Test-level runOnRequirements in retryable writes tests should not be more permissive than top-level runOnRequirements
- Closed
-
PHPLIB-1326 Test-level runOnRequirements in retryable writes tests should not be more permissive than top-level runOnRequirements
- Closed
-
PYTHON-4110 Test-level runOnRequirements in retryable writes tests should not be more permissive than top-level runOnRequirements
- Closed
-
RUBY-3361 Test-level runOnRequirements in retryable writes tests should not be more permissive than top-level runOnRequirements
- Closed