Skip to content

tests: fix test_stacktrace_big_recursion failure due to argv #4346

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 29, 2025

Conversation

booxter
Copy link
Contributor

@booxter booxter commented Apr 29, 2025

Sometimes I see the test failing because the event contains extras
with sys.argv key in addition to exception. There's probably some
state leaking between tests, but regardless this patch should make the
test case slightly more robust.

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

Sometimes I see the test failing because the event contains `extras`
with `sys.argv` key in addition to `exception`. There's probably some
state leaking between tests, but regardless this patch should make the
test case slightly more robust.

Signed-off-by: Ihar Hrachyshka <[email protected]>
@booxter booxter requested a review from a team as a code owner April 29, 2025 01:40
Copy link
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @booxter!

We definitely have some stuff leaking between the tests, we need to allocate proper time to figure out how to fix that. Your fix is definitely a good improvement though!

Feel free to also bump the timeout in this PR.

Copy link

codecov bot commented Apr 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.29%. Comparing base (bbdf789) to head (8cc6082).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4346      +/-   ##
==========================================
- Coverage   80.32%   80.29%   -0.03%     
==========================================
  Files         142      142              
  Lines       15933    15933              
  Branches     2725     2725              
==========================================
- Hits        12798    12794       -4     
- Misses       2262     2263       +1     
- Partials      873      876       +3     

see 2 files with indirect coverage changes

@sentrivana sentrivana merged commit 970a350 into getsentry:master Apr 29, 2025
141 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