@@ -6,14 +6,14 @@ import { SpanJSON } from '@sentry/core';
66test ( 'Propagates trace for outgoing http requests' , async ( { baseURL } ) => {
77 const id = crypto . randomUUID ( ) ;
88
9- const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
9+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
1010 return (
1111 transactionEvent . contexts ?. trace ?. op === 'http.server' &&
1212 transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-inbound-headers/${ id } `
1313 ) ;
1414 } ) ;
1515
16- const outboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
16+ const outboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
1717 return (
1818 transactionEvent . contexts ?. trace ?. op === 'http.server' &&
1919 transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-http/${ id } `
@@ -120,14 +120,14 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
120120test ( 'Propagates trace for outgoing fetch requests' , async ( { baseURL } ) => {
121121 const id = crypto . randomUUID ( ) ;
122122
123- const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
123+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
124124 return (
125125 transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
126126 transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-inbound-headers/${ id } `
127127 ) ;
128128 } ) ;
129129
130- const outboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
130+ const outboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
131131 return (
132132 transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
133133 transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-fetch/${ id } `
@@ -232,7 +232,7 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
232232} ) ;
233233
234234test ( 'Propagates trace for outgoing external http requests' , async ( { baseURL } ) => {
235- const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
235+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
236236 return (
237237 transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
238238 transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-http-external-allowed`
@@ -269,7 +269,7 @@ test('Propagates trace for outgoing external http requests', async ({ baseURL })
269269} ) ;
270270
271271test ( 'Does not propagate outgoing http requests not covered by tracePropagationTargets' , async ( { baseURL } ) => {
272- const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
272+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
273273 return (
274274 transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
275275 transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-http-external-disallowed`
@@ -293,7 +293,7 @@ test('Does not propagate outgoing http requests not covered by tracePropagationT
293293} ) ;
294294
295295test ( 'Propagates trace for outgoing external fetch requests' , async ( { baseURL } ) => {
296- const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
296+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
297297 return (
298298 transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
299299 transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-fetch-external-allowed`
@@ -330,7 +330,7 @@ test('Propagates trace for outgoing external fetch requests', async ({ baseURL }
330330} ) ;
331331
332332test ( 'Does not propagate outgoing fetch requests not covered by tracePropagationTargets' , async ( { baseURL } ) => {
333- const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
333+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify-3 ' , transactionEvent => {
334334 return (
335335 transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
336336 transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-fetch-external-disallowed`
0 commit comments