-
Type: Spec Change
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Component/s: Unified Test Runner
-
None
-
Needed
-
Summary
What is the problem or use case, what are we trying to achieve?
We want to be able to assert on the type property of the previousDescription and newDescription fields of the topologyDescriptionChanged event as described in the sdam spec. This will enable us to more easily write tests that expect topology changes without having to leverage logging. In addition, it allows for testing on the behaviour of clients that are closing as is required for DRIVERS-2711.
Motivation
Who is the affected end user?
We as driver engineers are the affected users.
How does this affect the end user?
Makes writing tests easier.
How likely is it that this problem or use case will occur?
Occurs in testing
If the problem does occur, what are the consequences and how severe are they?
Annoyance and inconvenience of having to work against the test runner to assert certain conditions.
Is this issue urgent?
DRIVERS-2711 requires this ticket to be completed
Is this ticket required by a downstream team?
No
Is this ticket only for tests?
This ticket updates the unified test format spec and so will require drivers to update their unified test runner implementations.
Acceptance Criteria
- Add section to unified test runner specification defining the assertions that should be possible on the topologyDescriptionChangedEvent
- Update unified test format schema
- Add unified test format tests that ensure that the additions to the schema work as expected
- is depended on by
-
DRIVERS-2711 Publish TopologyDescriptionChangedEvent on topology close
- Implementing
- split to
-
CDRIVER-5516 Support assertions on topologyDescriptionChangedEvent in expectEvents
- Backlog
-
CXX-2994 Support assertions on topologyDescriptionChangedEvent in expectEvents
- Backlog
-
GODRIVER-3167 Support assertions on topologyDescriptionChangedEvent in expectEvents
- Backlog
-
JAVA-5389 Support assertions on topologyDescriptionChangedEvent in expectEvents
- Backlog
-
PHPLIB-1421 Support assertions on topologyDescriptionChangedEvent in expectEvents
- Backlog
-
RUBY-3428 Support assertions on topologyDescriptionChangedEvent in expectEvents
- Backlog
-
RUST-1893 Support assertions on topologyDescriptionChangedEvent in expectEvents
- Backlog
-
CSHARP-5016 Support assertions on topologyDescriptionChangedEvent in expectEvents
- Closed
-
MOTOR-1287 Support assertions on topologyDescriptionChangedEvent in expectEvents
- Closed
-
NODE-6052 Support assertions on topologyDescriptionChangedEvent in expectEvents
- Closed
-
PYTHON-4299 Support assertions on topologyDescriptionChangedEvent in expectEvents
- Closed