Skip to content

test(tus): bump up shutdown timeouts - #2185

Open
jpnurmi wants to merge 1 commit into
masterfrom
jpnurmi/test/tus-timeout
Open

jpnurmi wants to merge 1 commit into
masterfrom
jpnurmi/test/tus-timeout

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Give test_tus_rate_limit and the restart phase of test_tus_shutdown
a 10s SDK shutdown timeout instead of the default 2s.

Windows ARM64 runners can hit the deadline while pruning ten
100 MiB cached attachments, leaving an envelope and its .dmp on disk.
The shutdown test's resumed 100 MiB PATCH upload can also be cancelled
by the deadline, leaving expected HTTP requests unfulfilled.

Keep the first shutdown-test run on the default timeout to cover
interruption and persistence.

These jobs failed on attempt 1 and passed on attempt 2:

test_tus_rate_limit, Windows arm64 (October 7 and 9, 2026):
https://github.com/getsentry/sentry-native/actions/runs/37620539204/job/112789385904
https://github.com/getsentry/sentry-native/actions/runs/37938992887/job/113848220716

test_tus_shutdown, Windows latest (August 13 and September 4, 2026):
https://github.com/getsentry/sentry-native/actions/runs/31714840874/job/94496808740
https://github.com/getsentry/sentry-native/actions/runs/33868048236/job/101007293905
@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.52%. Comparing base (d51c04f) to head (bac490c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2185      +/-   ##
==========================================
- Coverage   75.52%   75.52%   -0.01%     
==========================================
  Files         103      103              
  Lines       28089    28089              
  Branches     5150     5150              
==========================================
- Hits        21214    21213       -1     
+ Misses       5528     5524       -4     
- Partials     1347     1352       +5     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
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.

1 participant