You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* TODO(NODE-4082): Refactor tests to align exactly with spec wording.
23
-
* Assert the following across at least 5 retries of the above test: (We do not need to retry in nodejs)
22
+
* Create a MongoClient with the following options: maxPoolSize=1 and retryWrites=true
23
+
* Attach a command started listener that collects each command's lsid
24
24
* Drivers MUST assert that exactly one session is used for all operations at least once across the retries of this test.
25
25
* Note that it's possible, although rare, for greater than 1 server session to be used because the session is not released until after the connection is checked in.
26
-
* Drivers MUST assert that the number of allocated sessions is strictly less than the number of concurrent operations in every retry of this test. In this instance it would less than (but NOT equal to) 8.
26
+
* Drivers MUST assert that the number of allocated sessions is strictly less than the number of concurrent operations in every retry of this test. In this instance it would be less than (but NOT equal to) 8.
27
27
*/
28
28
it('13. may reuse one server session for many operations',async()=>{
0 commit comments