Skip to content

fix(test): increase cpu exhaustion timeout bound for coverage#432

Merged
chaliy merged 1 commit intomainfrom
claude/fix-main-cpu-test-z6NSk
Mar 1, 2026
Merged

fix(test): increase cpu exhaustion timeout bound for coverage#432
chaliy merged 1 commit intomainfrom
claude/fix-main-cpu-test-z6NSk

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Mar 1, 2026

Summary

  • The threat_cpu_exhaustion_timeout test was failing in the Coverage CI job (tarpaulin) because the assertion elapsed < 15s was too tight — tarpaulin instrumentation overhead caused the test to take 15.22s
  • Increased the bound from 15s to 30s to accommodate coverage instrumentation slowdown

Test plan

  • cargo test threat_cpu_exhaustion_timeout passes locally
  • Coverage CI job passes on this PR

The threat_cpu_exhaustion_timeout test asserted elapsed < 15s, but under
tarpaulin coverage instrumentation the overhead pushes execution past
15s (observed 15.22s in CI). Increase bound to 30s.

https://claude.ai/code/session_018tdhmNszTYmKk4hkqsuCSz
@chaliy chaliy merged commit fe5dab9 into main Mar 1, 2026
16 checks passed
@chaliy chaliy deleted the claude/fix-main-cpu-test-z6NSk branch March 1, 2026 01:31
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