-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Test Failure
-
None
-
Fully Compatible
-
Not Needed
ServerDiscoveryAndMonitoringProseTests.testConnectionPoolManagement started failing like this after implementing JAVA-4449. This is a manifestation of a bug in the test, because the test relies on the assumption that ServerHeartbeatFailedEvent is ordered before ConnectionPoolClearedEvent that is caused by it. The corresponding test scenario in the spec does not make the same assumption: it does not expect any order between events in the phrase "Verify that a ServerHeartbeatFailedEvent and a ConnectionPoolClearedEvent (CMAP) are emitted."
Another problem is that JAVA-4449 actually eliminated ordering relations that are expected by the aforementioned test. However, neither SDAM nor CMAP specs require such ordering relations outside of the test. I filed DRIVERS-2194, and for now we need to disable the test.
- causes
-
JAVA-4484 Enable ServerDiscoveryAndMonitoringProseTests.testConnectionPoolManagement
- Blocked
- is caused by
-
JAVA-3928 Connection pool paused state
- Closed
- related to
-
DRIVERS-2194 Clarify the order between server monitor events and connection pool events
- Backlog
- links to