Skip to content
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

tests(cli): Increase tolerance of timing for PromiseQueue test #3287

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

nellh
Copy link
Contributor

@nellh nellh commented Jan 16, 2025

This fails on macOS because the event loop takes longer to process the two setTimeout calls. Increasing the tolerance to 50ms seems to work.

Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.81%. Comparing base (e310c90) to head (610739d).
Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3287   +/-   ##
=======================================
  Coverage   46.81%   46.81%           
=======================================
  Files         610      610           
  Lines       39145    39145           
  Branches     1255     1255           
=======================================
  Hits        18325    18325           
  Misses      20624    20624           
  Partials      196      196           

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

@nellh nellh changed the title fix(cli): Add missing await to PromiseQueue enqueue step tests(cli): Increase tolerance of timing for PromiseQueue test Jan 16, 2025
@nellh nellh marked this pull request as ready for review January 16, 2025 20:54
@nellh nellh merged commit 1de9b4e into master Jan 16, 2025
13 checks passed
@nellh nellh deleted the ci/macos-fix branch January 16, 2025 20:57
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