Skip to content

Commit ab3605f

Browse files
committed
docs: add todos
1 parent 3a91450 commit ab3605f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/integration/client-side-encryption/client_side_encryption.prose.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,6 +1178,7 @@ describe('Client Side Encryption Prose Tests', metadata, function () {
11781178
.to.be.instanceOf(Error)
11791179
.to.have.property('name', 'MongoServerSelectionError');
11801180

1181+
// TODO(NODE-5296): check error.message once AggregateErrors are handled correctly
11811182
expect(insertError, 'Error must contain ECONNREFUSED').to.satisfy(
11821183
error =>
11831184
/ECONNREFUSED/.test(error.message) ||
@@ -1274,6 +1275,7 @@ TODO(NODE-5283): The error thrown in this test fails an instanceof check with Mo
12741275
client = new MongoClient('mongodb://localhost:27021/db?serverSelectionTimeoutMS=1000');
12751276
const error = await client.connect().catch(e => e);
12761277

1278+
// TODO(NODE-5296): check error.message once AggregateErrors are handled correctly
12771279
expect(
12781280
error,
12791281
'Error MUST be a MongoServerSelectionError error that contains ECONNREFUSED information'

0 commit comments

Comments
 (0)