Skip to content

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

Merged
jpnurmi merged 1 commit into
masterfrom
jpnurmi/test/tus-timeout
Oct 12, 2026
Merged

jpnurmi merged 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).
⚠️ Report is 3 commits behind head on master.

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.

@jpnurmi
jpnurmi requested a review from JoshuaMoelans October 12, 2026 08:08
@jpnurmi
jpnurmi merged commit b678d8c into master Oct 12, 2026
72 checks passed
@jpnurmi
jpnurmi deleted the jpnurmi/test/tus-timeout branch October 12, 2026 16:46
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