|
When I implemented test_mongoc_client_authenticate_timeout I forgot I must skip it if auth is not compiled in (which it is not on our win32 build variant, since a 32-bit OpenSSL build is not provided for us there by the build team).
In test_mongoc_client_authenticate_timeout:
- we give the driver an auth URI
- start a "ping" command
- wait for the mock server to receive "saslStart"
- "ping" fails before sending any message, because the driver can't auth without SSL compiled in
- we do request = mock_server_receives_command (server, "admin") but no such command arrives
- we check request->command_name but request is NULL
- test segfaults
Not a driver bug, just need to skip the test if SSL is not compiled in, the same as other auth tests.
|