Skip to content

Commit

Permalink
disable rule in skipped undici tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Jul 13, 2023
1 parent 771b695 commit dd2dffb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/node/test/integrations/undici.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ conditionalTest({ min: 16 })('Undici integration', () => {
});

// This flakes on CI for some reason: https://github.com/getsentry/sentry-javascript/pull/8449
// eslint-disable-next-line jest/no-disabled-tests
it.skip('attaches the sentry trace and baggage headers if there is an active span', async () => {
expect.assertions(3);

Expand All @@ -214,6 +215,7 @@ conditionalTest({ min: 16 })('Undici integration', () => {
});

// This flakes on CI for some reason: https://github.com/getsentry/sentry-javascript/pull/8449
// eslint-disable-next-line jest/no-disabled-tests
it.skip('attaches the sentry trace and baggage headers if there is no active span', async () => {
const scope = hub.getScope();

Expand All @@ -228,6 +230,7 @@ conditionalTest({ min: 16 })('Undici integration', () => {
});

// This flakes on CI for some reason: https://github.com/getsentry/sentry-javascript/pull/8449
// eslint-disable-next-line jest/no-disabled-tests
it.skip('attaches headers if `shouldCreateSpanForRequest` does not create a span using propagation context', async () => {
const transaction = hub.startTransaction({ name: 'test-transaction' }) as Transaction;
const scope = hub.getScope();
Expand Down Expand Up @@ -259,6 +262,7 @@ conditionalTest({ min: 16 })('Undici integration', () => {
});

// This flakes on CI for some reason: https://github.com/getsentry/sentry-javascript/pull/8449
// eslint-disable-next-line jest/no-disabled-tests
it.skip('uses tracePropagationTargets', async () => {
const transaction = hub.startTransaction({ name: 'test-transaction' }) as Transaction;
hub.getScope().setSpan(transaction);
Expand Down

0 comments on commit dd2dffb

Please sign in to comment.