Skip to content

test: add logging for gcp flaky test #4537

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/integration/node-specific/resource_clean_up.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ describe('Driver Resources', () => {

context('on MongoClient.close()', () => {
before('create leak reproduction script', async function () {
if (process.version.includes('v24')) {
if (this.test) {
this.test.skipReason = 'TODO(NODE-6945): Fix v24 heap snapshot parsing';
}
this.test?.skip();
}
if (globalThis.AbortController == null || typeof this.configuration.serverApi === 'string') {
return;
}
Expand Down
1 change: 1 addition & 0 deletions test/tools/runner/flaky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { alphabetically } from '../utils';
export const flakyTests = [
'Change Streams should properly handle a changeStream event being processed mid-close when invoked with promises',
'Client Side Encryption (Unified) namedKMS-rewrapManyDataKey rewrap to azure:name1',
'Client Side Encryption (Unified) rewrapManyDataKey rewrap with new GCP KMS provider',
'Client Side Encryption Prose Tests 16. Rewrap Case 1: Rewrap with separate ClientEncryption should rewrap data key from aws to aws',
'Client Side Encryption Prose Tests 16. Rewrap Case 1: Rewrap with separate ClientEncryption should rewrap data key from aws to azure',
'Client Side Encryption Prose Tests 16. Rewrap Case 1: Rewrap with separate ClientEncryption should rewrap data key from aws to gcp',
Expand Down