GODRIVER-4165ClosedDone

Sample NumberSessionsInProgress in mtest.ResetClient

h3. *Context* In the mtest.T.teardown function we count the number of sessions in progress on a client and verify that value is zero. But if a prose test resets the client, this assertion could be wrong. Additional context: https://github.com/mongodb/mongo-go-driver/pull/2624#discussion_r4086038162 h3. *Definition of done* Sample sessions onto mtest.T when a client is reset. In the teardown the assertion becomes this: h3. *Pitfalls* Uninvestigated

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
quick-fix