- 
    Type:
Task
 - 
    Resolution: Unresolved
 - 
    Priority:
Major - P3
 - 
    None
 - 
    Affects Version/s: None
 - 
    Component/s: Tests
 - 
    None
 
- 
        None
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
In PYTHON-2268, we added a sanity check in the test suite to ensure that all Topology objects are closed. There are two limitations.
- We skip the “print_unclosed_clients” check on Jython (because Jython does not support gc.get_objects()).
 - We don’t check the pymongo_kill_cursors_thread because it belongs to MongoClient and we only check Topology instances.
 
We should extend the check at the end of the test suite to apply to the pymongo_kill_cursors_thread (or any unclosed PeriodicExecutor).
- related to
 - 
                    
PYTHON-2268 Close clients created in test suite
-         
 - Closed
 
 -         
 - 
                    
PYTHON-2278 Test failure - test_discovery_and_monitoring with Jython: None != {'clusterTime': Timestamp(0, 1)}
-         
 - Closed
 
 -