diff --git a/test/runner/plugins/client_leak_checker.js b/test/runner/plugins/client_leak_checker.js index 05ed46d2b9..ac2863df50 100644 --- a/test/runner/plugins/client_leak_checker.js +++ b/test/runner/plugins/client_leak_checker.js @@ -21,7 +21,7 @@ TestConfiguration.prototype.newClient = function() { function unifiedTopologyIsConnected(client) { const topology = client.topology; - if (topology == null) { + if (topology == null || topology.s.servers == null) { return false; }