Commit 5ef3ee1
test(node): Fix flaky MongoDB integration test
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>1 parent 959cf7e commit 5ef3ee1
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
0 commit comments