Skip to content

Fixes some flaws in the chaos tests#128

Merged
chrisguidry merged 1 commit intomainfrom
better-chaos-tests
Apr 25, 2025
Merged

Fixes some flaws in the chaos tests#128
chrisguidry merged 1 commit intomainfrom
better-chaos-tests

Conversation

@chrisguidry
Copy link
Owner

The chaos tests weren't waiting for all tasks to be received (only
sent). This was masking some other problems, like that the test could
never fully finish if any toxic tasks had been sent (since they would
die 100% of the time).

The chaos tests weren't waiting for all tasks to be _received_ (only
sent).  This was masking some other problems, like that the test could
never fully finish if any `toxic` tasks had been sent (since they would
die 100% of the time).
@github-actions
Copy link

📚 Documentation has been built for this PR!

You can download the documentation directly here:
https://github.com/chrisguidry/docket/actions/runs/14664309928/artifacts/3009255988

@codecov-commenter
Copy link

codecov-commenter commented Apr 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (4bc2aff) to head (84ec0fc).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #128   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           27        27           
  Lines         3223      3223           
  Branches       183       183           
=========================================
  Hits          3223      3223           
Flag Coverage Δ
python-3.12 100.00% <ø> (ø)
python-3.13 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@chrisguidry chrisguidry merged commit 0244315 into main Apr 25, 2025
12 checks passed
@chrisguidry chrisguidry deleted the better-chaos-tests branch April 25, 2025 12:15
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