Skip to content

test: Adjust long task integration test ui span check #6754

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 12, 2023

Conversation

AbhiPrasad
Copy link
Member

Make the check in should capture long task integration test check for any number of ui spans instead of just one. In some situations in CI, there can be multiple long tasks instead of one (due to environmental conditions), so assert just to make sure they exist (and they are being recorded).

Should help fight against flakes like: https://github.com/getsentry/sentry-javascript/actions/runs/3901225358/jobs/6662950441

Make the check in `should capture long task` integration test check for
any number of ui spans instead of just one. In some situations in CI,
there can be multiple long tasks instead of one (due to environmental
conditions), so assert just to make sure they exist (and they are being
recorded).
@AbhiPrasad AbhiPrasad requested a review from a team January 12, 2023 14:22
@AbhiPrasad AbhiPrasad self-assigned this Jan 12, 2023
@AbhiPrasad AbhiPrasad requested review from lforst and Lms24 and removed request for a team January 12, 2023 14:22
@AbhiPrasad AbhiPrasad enabled auto-merge (squash) January 12, 2023 14:24
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 19.84 KB (-0.01% 🔽)
@sentry/browser - ES5 CDN Bundle (minified) 61.46 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.62 KB (+0.02% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 55 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 20.38 KB (0%)
@sentry/browser - Webpack (minified) 66.55 KB (0%)
@sentry/react - Webpack (gzipped + minified) 20.4 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 47.63 KB (0%)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 26.82 KB (+0.02% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 25.25 KB (-0.01% 🔽)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 42.95 KB (+0.01% 🔺)
@sentry/replay - Webpack (gzipped + minified) 38.33 KB (0%)

@lforst
Copy link
Contributor

lforst commented Jan 12, 2023

777vg7

@AbhiPrasad AbhiPrasad merged commit 24cbc4c into master Jan 12, 2023
@AbhiPrasad AbhiPrasad deleted the abhi-long-tasks-flake branch January 12, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants