Skip to content

Commit b6d64e5

Browse files
authored
CDRIVER-5736 do not assert (#1758)
1 parent 023df6a commit b6d64e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libmongoc/tests/test-mongoc-ssl.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ static void
205205
test_non_existant_cafile (void)
206206
{
207207
mongoc_client_t *client = mongoc_client_new ("mongodb://localhost:27017/?tls=true&tlsCAFile=/nonexistant/ca.pem");
208-
ASSERT (!mongoc_client_command_simple (client, "admin", tmp_bson ("{'ping': 1}"), NULL, NULL, NULL));
208+
// Ignore return. May return true on Windows hosts. See CDRIVER-5747.
209+
mongoc_client_command_simple (client, "admin", tmp_bson ("{'ping': 1}"), NULL, NULL, NULL);
209210
mongoc_client_destroy (client);
210211
}
211212

0 commit comments

Comments
 (0)