-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Component/s: Unified Test Runner
-
Needed - No Spec Changes
-
Summary
The operator-lte.yml test introduced in mongodb/specifications@a8a7d01 does not test flexible numeric comparisons. Adding a test for this exposed an outstanding bug in PHPLIB's test runner (discovered while implementing PHPLIB-1648), so it may be beneficial to other drivers.
Motivation
How likely is it that this problem or use case will occur?
Unlikely, as most tests using $lte utilize integers to compare timeoutMS options w with maxTimeMS values in outgoing commands.
If the problem does occur, what are the consequences and how severe are they?
If the comparison fails to compare different numeric types, a test would likely produce a false-negative result. This is likely less serious than a false-positive, which might go unnoticed.
Is this issue urgent?
No.
Is this ticket required by a downstream team?
No.
Is this ticket only for tests?
Yes.
- is related to
-
PHPLIB-1648 Test runner support for initialData.createOptions and $$lte operator
-
- In Code Review
-
- split to
-
CDRIVER-5940 Test flexible numeric comparisons with $$lte
-
- Needs Triage
-
-
CXX-3254 Test flexible numeric comparisons with $$lte
-
- Needs Triage
-
-
JAVA-5820 Test flexible numeric comparisons with $$lte
-
- Needs Triage
-
-
NODE-6872 Test flexible numeric comparisons with $$lte
-
- Needs Triage
-
-
RUBY-3636 Test flexible numeric comparisons with $$lte
-
- Needs Triage
-
-
GODRIVER-3518 Test flexible numeric comparisons with $$lte
-
- Backlog
-
-
PYTHON-5230 Test flexible numeric comparisons with $$lte
-
- Backlog
-
-
CSHARP-5534 Test flexible numeric comparisons with $$lte
-
- In Code Review
-
-
PHPLIB-1650 Test flexible numeric comparisons with $$lte
-
- In Code Review
-
-
MOTOR-1444 Test flexible numeric comparisons with $$lte
-
- Closed
-
-
RUST-2186 Test flexible numeric comparisons with $$lte
-
- Closed
-