Skip to content

Commit c0c9c05

Browse files
committed
test(config): don't provide a default serverSelectionTimeoutMS
1 parent b94ec5a commit c0c9c05

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/config.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,7 @@ class NativeConfiguration extends ConfigurationBase {
6161
return new this.mongo.MongoClient(
6262
dbOptions,
6363
this.usingUnifiedTopology()
64-
? Object.assign(
65-
{ useUnifiedTopology: true, serverSelectionTimeoutMS: 1000 },
66-
serverOptions
67-
)
64+
? Object.assign({ useUnifiedTopology: true }, serverOptions)
6865
: serverOptions
6966
);
7067
}

0 commit comments

Comments
 (0)