@@ -31,8 +31,7 @@ describe('Atlas Data Lake - prose', function () {
3131 * 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.
3232 */
3333 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' ) ;
3635 const db = client . db ( 'admin' ) ;
3736 await db . command ( { killCursors : 'kill_cursor_collection' } ) ;
3837 } ) ;
@@ -41,8 +40,7 @@ describe('Atlas Data Lake - prose', function () {
4140 * For these tests, create a MongoClient using a valid connection string without auth credentials and execute a ping command.
4241 */
4342 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' ) ;
4644 const db = client . db ( 'admin' ) ;
4745 await db . command ( { ping : 1 } ) ;
4846 } ) ;
@@ -52,10 +50,7 @@ describe('Atlas Data Lake - prose', function () {
5250 * from the drivers-evergreen-tools ADL configuration and execute a ping command.
5351 */
5452 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' ) ;
5954 const db = client . db ( 'admin' ) ;
6055 await db . command ( { ping : 1 } ) ;
6156 await db . command ( { killCursors : 'kill_cursor_collection' } ) ;
@@ -65,10 +60,7 @@ describe('Atlas Data Lake - prose', function () {
6560 * Repeat the authentication test using SCRAM-SHA-256.
6661 */
6762 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' ) ;
7264 const db = client . db ( 'admin' ) ;
7365 await db . command ( { ping : 1 } ) ;
7466 await db . command ( { killCursors : 'kill_cursor_collection' } ) ;
0 commit comments