From 60c48ae9b2fea0d91a991f25751276ea0f7298a2 Mon Sep 17 00:00:00 2001 From: Durran Jordan Date: Thu, 24 Apr 2025 16:18:14 +0200 Subject: [PATCH] test(NODE-6927): skip failing aws uri test --- .../client_side_encryption.prose.test.js | 5 +++++ test/tools/runner/flaky.ts | 1 + 2 files changed, 6 insertions(+) diff --git a/test/integration/client-side-encryption/client_side_encryption.prose.test.js b/test/integration/client-side-encryption/client_side_encryption.prose.test.js index 8df4dad30a..12cf1376e9 100644 --- a/test/integration/client-side-encryption/client_side_encryption.prose.test.js +++ b/test/integration/client-side-encryption/client_side_encryption.prose.test.js @@ -925,6 +925,7 @@ describe('Client Side Encryption Prose Tests', metadata, function () { key: 'arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0', endpoint: 'kms.us-east-1.amazonaws.com:12345' }, + skipReason: 'TODO(NODE-6928): Fix failing aws bad URI test', succeed: false, errorValidator: err => { expect(err) @@ -1042,6 +1043,10 @@ describe('Client Side Encryption Prose Tests', metadata, function () { testCases.forEach(testCase => { it(testCase.description, metadata, function () { + if (testCase.skipReason) { + this.skipReason = testCase.skipReason; + this.skip(); + } // Call `client_encryption.createDataKey()` with as the provider and the following masterKey: // .. code:: javascript // { diff --git a/test/tools/runner/flaky.ts b/test/tools/runner/flaky.ts index 3d11fb7746..126c18ec0f 100644 --- a/test/tools/runner/flaky.ts +++ b/test/tools/runner/flaky.ts @@ -31,6 +31,7 @@ export const flakyTests = [ 'Client Side Encryption Prose Tests 16. Rewrap Case 1: Rewrap with separate ClientEncryption should rewrap data key from local to kmip', 'Client Side Encryption Prose Tests 16. Rewrap Case 1: Rewrap with separate ClientEncryption should rewrap data key from local to local', 'Client Side Encryption Prose Tests 16. Rewrap Case 2: RewrapManyDataKeyOpts.provider is not optional when provider field is missing raises an error', + 'Client Side Encryption Prose Tests Custom Endpoint Test 4. aws: custom endpoint with bad url', 'CSOT spec tests legacy timeouts behave correctly for retryable operations operation fails after two consecutive socket timeouts - aggregate on collection', 'CSOT spec tests legacy timeouts behave correctly for retryable operations operation succeeds after one socket timeout - aggregate on collection', 'CSOT spec tests operations ignore deprecated timeout options if timeoutMS is set socketTimeoutMS is ignored if timeoutMS is set - dropIndex on collection',