Skip to content

test(node): Fix flaky MongoDB integration test#21064

Merged
JPeer264 merged 1 commit into
developfrom
jp/mongodb-flaky-cjs-test
May 20, 2026
Merged

test(node): Fix flaky MongoDB integration test#21064
JPeer264 merged 1 commit into
developfrom
jp/mongodb-flaky-cjs-test

Conversation

@JPeer264
Copy link
Copy Markdown
Member

@JPeer264 JPeer264 commented May 20, 2026

closes #20781
closes JS-2424

closes #20958
closes JS-2523

Set high heartbeatFrequencyMS (60s) to prevent extra MongoDB driver heartbeats from firing during the test. The 2 isMaster spans come from the initial connection handshake and are deterministic. Extra heartbeats were causing 9 spans instead of 8 on slower CI machines.

Set high heartbeatFrequencyMS (60s) to prevent extra MongoDB driver
heartbeats from firing during the test. The 2 isMaster spans come from
the initial connection handshake and are deterministic. Extra heartbeats
were causing 9 spans instead of 8 on slower CI machines.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 20, 2026

JS-2424

JS-2523

@JPeer264 JPeer264 merged commit 1b38754 into develop May 20, 2026
48 checks passed
@JPeer264 JPeer264 deleted the jp/mongodb-flaky-cjs-test branch May 20, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants