Skip to content

Commit 290d564

Browse files
committed
fixup! feat(deps): Bump mysql2 from 3.19.1 to 3.23.3
1 parent 58ae675 commit 290d564

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

  • dev-packages/node-integration-tests/suites/tracing/mysql2

‎dev-packages/node-integration-tests/suites/tracing/mysql2/test.ts‎

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,18 @@ describeWithDockerCompose('mysql2 auto instrumentation', { workingDirectory: [__
7272
]),
7373
};
7474

75-
createEsmAndCjsTests(__dirname, 'scenario.mjs', 'instrument.mjs', (createTestRunner, test) => {
76-
test('should auto-instrument `mysql2` package without connection.connect()', { timeout: 75_000 }, async () => {
77-
await createTestRunner().expect({ transaction: EXPECTED_TRANSACTION }).start().completed();
78-
});
79-
});
75+
createEsmAndCjsTests(
76+
__dirname,
77+
'scenario.mjs',
78+
'instrument.mjs',
79+
(createTestRunner, test) => {
80+
test('should auto-instrument `mysql2` package without connection.connect()', { timeout: 75_000 }, async () => {
81+
await createTestRunner().expect({ transaction: EXPECTED_TRANSACTION }).start().completed();
82+
});
83+
},
84+
// mysql2 >= 3.20.0 publishes its own diagnostics channels, which the SDK subscribes to instead
85+
// of the orchestrion path asserted here. That range is covered by `mysql2-tracing-channel`, so
86+
// this suite pins a version below the boundary regardless of the version the workspace installs.
87+
{ additionalDependencies: { mysql2: '3.19.1' } },
88+
);
8089
});

0 commit comments

Comments
 (0)