Skip to content

Commit 8c07ad4

Browse files
committed
test: retry tls tests
1 parent 0e97efc commit 8c07ad4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,6 +1527,8 @@ describe('Client Side Encryption Prose Tests', metadata, function () {
15271527
const masterKeyInvalidHostname = { ...masterKey, endpoint: '127.0.0.1:9001' };
15281528

15291529
it('should fail with no TLS', metadata, async function () {
1530+
// NODE-6861: flakiness is caused by mock KMS servers
1531+
this.retries(2);
15301532
try {
15311533
await clientEncryptionNoTls.createDataKey('aws', { masterKey });
15321534
expect.fail('it must fail with no tls');
@@ -1631,6 +1633,8 @@ describe('Client Side Encryption Prose Tests', metadata, function () {
16311633
};
16321634

16331635
it('should fail with no TLS', metadata, async function () {
1636+
// NODE-6861: flakiness is caused by mock KMS servers
1637+
this.retries(2);
16341638
try {
16351639
await clientEncryptionNoTls.createDataKey('gcp', { masterKey });
16361640
expect.fail('it must fail with no tls');

0 commit comments

Comments
 (0)