Skip to content

tests: bump test timeout for recursion stacktrace extract to 2s #4351

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
Apr 30, 2025

Conversation

booxter
Copy link
Contributor

@booxter booxter commented Apr 29, 2025

In some loaded environments, the test may take slightly longer than 1s
to extract the stacktrace. This was noticed in nixpkgs build system
where the load is generally high due to high build parallelism and
resource constraints. I was sometimes getting failures because the time
it took was e.g. ~1.2s (less than current timeout of 1s).

Disclosure: we'll probably end up disabling the test in nixpkgs anyway
because we try to avoid time sensitive tests. Regardless, this bump may
help someone else in a similar situation or environment.

Signed-off-by: Ihar Hrachyshka [email protected]

In some loaded environments, the test may take slightly longer than 1s
to extract the stacktrace. This was noticed in nixpkgs build system
where the load is generally high due to high build parallelism and
resource constraints. I was sometimes getting failures because the time
it took was e.g. ~1.2s (less than current timeout of 1s).

Disclosure: we'll probably end up disabling the test in nixpkgs anyway
because we try to avoid time sensitive tests. Regardless, this bump may
help someone else in a similar situation or environment.

Signed-off-by: Ihar Hrachyshka <[email protected]>
Copy link

codecov bot commented Apr 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.31%. Comparing base (bbdf789) to head (5ddb52b).
Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4351      +/-   ##
==========================================
- Coverage   80.32%   80.31%   -0.02%     
==========================================
  Files         142      142              
  Lines       15933    15935       +2     
  Branches     2725     2725              
==========================================
  Hits        12798    12798              
  Misses       2262     2262              
- Partials      873      875       +2     

see 5 files with indirect coverage changes

@booxter
Copy link
Contributor Author

booxter commented Apr 29, 2025

Checked the failure and it doesn't seem related.

@sentrivana sentrivana enabled auto-merge (squash) April 30, 2025 07:11
@sentrivana sentrivana merged commit 18a1104 into getsentry:master Apr 30, 2025
140 checks passed
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.

2 participants