@@ -31,8 +31,7 @@ describe('Atlas Data Lake - prose', function () {
31
31
* If a driver constructs and issues killCursors commands in other ways (e.g. public API), this test MUST be adapted to test all such code paths.
32
32
*/
33
33
it ( '1. Test that the driver properly constructs and issues a killCursors command to Atlas Data Lake.' , async function ( ) {
34
- // TODO(NODE-4884): once happy eyeballs support is added, we no longer need to set the default dns resolution order for CI
35
- client = new MongoClient ( 'mongodb://mhuser:pencil@localhost' , { family : 4 } ) ;
34
+ client = new MongoClient ( 'mongodb://mhuser:pencil@localhost' ) ;
36
35
const db = client . db ( 'admin' ) ;
37
36
await db . command ( { killCursors : 'kill_cursor_collection' } ) ;
38
37
} ) ;
@@ -41,8 +40,7 @@ describe('Atlas Data Lake - prose', function () {
41
40
* For these tests, create a MongoClient using a valid connection string without auth credentials and execute a ping command.
42
41
*/
43
42
it ( '2. Test that the driver can establish a connection with Atlas Data Lake without authentication.' , async function ( ) {
44
- // TODO(NODE-4884): once happy eyeballs support is added, we no longer need to set the default dns resolution order for CI
45
- client = new MongoClient ( 'mongodb://localhost' , { family : 4 } ) ;
43
+ client = new MongoClient ( 'mongodb://localhost' ) ;
46
44
const db = client . db ( 'admin' ) ;
47
45
await db . command ( { ping : 1 } ) ;
48
46
} ) ;
@@ -52,10 +50,7 @@ describe('Atlas Data Lake - prose', function () {
52
50
* from the drivers-evergreen-tools ADL configuration and execute a ping command.
53
51
*/
54
52
it ( '3a. Test that the driver can establish a connection with Atlas Data Lake with authentication. (SCRAM-SHA-1)' , async function ( ) {
55
- // TODO(NODE-4884): once happy eyeballs support is added, we no longer need to set the default dns resolution order for CI
56
- client = new MongoClient ( 'mongodb://mhuser:pencil@localhost?authMechanism=SCRAM-SHA-1' , {
57
- family : 4
58
- } ) ;
53
+ client = new MongoClient ( 'mongodb://mhuser:pencil@localhost?authMechanism=SCRAM-SHA-1' ) ;
59
54
const db = client . db ( 'admin' ) ;
60
55
await db . command ( { ping : 1 } ) ;
61
56
await db . command ( { killCursors : 'kill_cursor_collection' } ) ;
@@ -65,10 +60,7 @@ describe('Atlas Data Lake - prose', function () {
65
60
* Repeat the authentication test using SCRAM-SHA-256.
66
61
*/
67
62
it ( '3b. Test that the driver can establish a connection with Atlas Data Lake with authentication. (SCRAM-SHA-256)' , async function ( ) {
68
- // TODO(NODE-4884): once happy eyeballs support is added, we no longer need to set the default dns resolution order for CI
69
- client = new MongoClient ( 'mongodb://mhuser:pencil@localhost?authMechanism=SCRAM-SHA-256' , {
70
- family : 4
71
- } ) ;
63
+ client = new MongoClient ( 'mongodb://mhuser:pencil@localhost?authMechanism=SCRAM-SHA-256' ) ;
72
64
const db = client . db ( 'admin' ) ;
73
65
await db . command ( { ping : 1 } ) ;
74
66
await db . command ( { killCursors : 'kill_cursor_collection' } ) ;
0 commit comments