Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.21 KB

File metadata and controls

27 lines (18 loc) · 1.21 KB

Connection Monitoring and Pooling (CMAP)


Introduction

Drivers MUST implement all of the following types of CMAP tests:

Prose Tests

The following tests have not yet been automated, but MUST still be tested:

  1. All ConnectionPoolOptions MUST be specified at the MongoClient level
  2. All ConnectionPoolOptions MUST be the same for all pools created by a MongoClient
  3. A user MUST be able to specify all ConnectionPoolOptions via a URI string
  4. A user MUST be able to subscribe to Connection Monitoring Events in a manner idiomatic to their language and driver
  5. When a check out attempt fails because connection set up throws an error, assert that a ConnectionCheckOutFailedEvent with reason="connectionError" is emitted.

Logging Tests

Tests for connection pool logging can be found in the /logging subdirectory and are written in the Unified Test Format.