Skip to content

Commit 8c5d777

Browse files
committed
test(node): Collapse mysql span streaming tests into same suite
1 parent af2d0e2 commit 8c5d777

8 files changed

Lines changed: 178 additions & 296 deletions

File tree

dev-packages/node-integration-tests/suites/tracing/mysql-streamed/instrument.mjs

Lines changed: 0 additions & 10 deletions
This file was deleted.

dev-packages/node-integration-tests/suites/tracing/mysql-streamed/scenario-withConnect.mjs

Lines changed: 0 additions & 28 deletions
This file was deleted.

dev-packages/node-integration-tests/suites/tracing/mysql-streamed/scenario-withoutCallback.mjs

Lines changed: 0 additions & 33 deletions
This file was deleted.

dev-packages/node-integration-tests/suites/tracing/mysql-streamed/scenario-withoutConnect.mjs

Lines changed: 0 additions & 22 deletions
This file was deleted.

dev-packages/node-integration-tests/suites/tracing/mysql-streamed/test.ts

Lines changed: 0 additions & 176 deletions
This file was deleted.

dev-packages/node-integration-tests/suites/tracing/mysql/instrument-orchestrion.mjs

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
import * as Sentry from '@sentry/node';
22
import { loggingTransport } from '@sentry-internal/node-integration-tests';
33

4+
if (process.env.ORCHESTRION === 'true') {
5+
Sentry.experimentalUseDiagnosticsChannelInjection();
6+
}
7+
48
Sentry.init({
59
dsn: 'https://public@dsn.ingest.sentry.io/1337',
610
release: '1.0',
711
tracesSampleRate: 1.0,
812
transport: loggingTransport,
13+
traceLifecycle: process.env.STREAMED === 'true' ? 'stream' : undefined,
914
});

0 commit comments

Comments
 (0)