[GODRIVER-1256] Assert that test closes all connections and sessions in testing framework Created: 27/Aug/19  Updated: 28/Oct/23  Resolved: 18/Oct/19

Status: Closed
Project: Go Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: 1.2.0

Type: Task Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on GODRIVER-276 Implement a testing framework Closed
Epic Link: Robust Testing Framework

 Description   

Once GODRIVER-276 is merged, the testing framework should be enhanced to check that all connections and sessions are closed by the test. This will involve adding unstable/deprecated helpers to mongo.Client and possibly other types to expose the correct information.



 Comments   
Comment by Githook User [ 18/Oct/19 ]

Author:

{'username': 'divjotarora', 'email': 'divjot.arora@10gen.com', 'name': 'Divjot Arora'}

Message: Assert that tests close all opened sessions and connections. (#196)

GODRIVER-1256
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/8cade26bc0ccdb2647b652736e3b7b2ee00ab2a2

Comment by Divjot Arora (Inactive) [ 11/Oct/19 ]

https://github.com/mongodb/mongo-go-driver/pull/196/files

Generated at Thu Feb 08 08:36:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.