Skip to content

test: waitFor was badly broken #6359

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 2 commits into from
Jun 9, 2025
Merged

Conversation

jannotti
Copy link
Contributor

@jannotti jannotti commented Jun 5, 2025

Besides being improperly synchronized, its design was flawed. It waited for a channel to appear in l.waiters, but that channel didn't last long, and could be missed once synchronization was added.

Instead conservatively wait.

Summary

Test Plan

Besides being improperly synchronized, its design was flawed.  It
waited for a channel to appear in `l.waiters`, but that channel didn't
last long, and could be missed once synchronization was added.

Instead conservatively wait.
@jannotti jannotti self-assigned this Jun 5, 2025
Copy link

codecov bot commented Jun 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.48%. Comparing base (ab67434) to head (1f9ae48).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6359      +/-   ##
==========================================
- Coverage   50.64%   50.48%   -0.17%     
==========================================
  Files         653      653              
  Lines      110378   110378              
==========================================
- Hits        55901    55719     -182     
- Misses      51607    51796     +189     
+ Partials     2870     2863       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@jannotti jannotti requested review from algorandskiy and gmalouf June 5, 2025 19:29
@jannotti jannotti merged commit 2a21fca into algorand:master Jun 9, 2025
47 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants