Skip to content

Commit 3913e40

Browse files
committed
CDRIVER-1426 longer timeout in DNS tests
1 parent d9b55e6 commit 3913e40

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/test-mongoc-server-selection-errors.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ server_selection_error_dns (const char *uri_str,
2222
uri = mongoc_uri_new (uri_str);
2323
ASSERT (uri);
2424

25-
if (!assert_as) {
26-
/* since we expect to fail, fail fast */
27-
mongoc_uri_set_option_as_int32 (uri, "serverSelectionTimeoutMS", 1000);
28-
}
29-
3025
if (pooled) {
3126
pool = mongoc_client_pool_new (uri);
3227
client = mongoc_client_pool_pop (pool);

0 commit comments

Comments
 (0)