Skip to content

Commit fda7d25

Browse files
authored
test(NODE-4790): retryable handshake errors spec sync (#3472)
1 parent 8254575 commit fda7d25

File tree

5 files changed

+4482
-124
lines changed

5 files changed

+4482
-124
lines changed

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/integration/retryable-reads/retryable_reads.spec.test.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ describe('Retryable Reads (legacy)', function () {
2929
});
3030
});
3131

32+
const UNIMPLEMENTED_APIS = [
33+
'collection.listIndexNames',
34+
'database.listCollectionNames',
35+
'client.listDatabaseNames'
36+
];
37+
3238
describe('Retryable Reads (unified)', function () {
33-
runUnifiedSuite(loadSpecTests(path.join('retryable-reads', 'unified')));
39+
runUnifiedSuite(loadSpecTests(path.join('retryable-reads', 'unified')), ({ description }) => {
40+
for (const apiName of UNIMPLEMENTED_APIS) {
41+
if (description.startsWith(apiName)) {
42+
return `The Node.js Driver does not support ${apiName}`;
43+
}
44+
}
45+
});
3446
});

0 commit comments

Comments
 (0)