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

fix: Update tests for Async.Promise .wait #810

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

tsuyoshicho
Copy link
Contributor

@tsuyoshicho tsuyoshicho commented Mar 16, 2024

Close #809

Update Async.Promise .wait test:

  • Split test: resolved pattern and rejected pattern
  • Update test timing pattern: complete 500 and 700
  • Update assert : lower limit and upper limmit

他のテストとの兼ね合いはありそうですが、現在わかってる範囲で改善を行いました。
全体としてもうすこし細かく確認を分割したほうがいい気はしますね。

macについては、アンダーフロー、オーバーフローのどちらも出たので、精度的な問題として暫定で範囲を広げて対応しています。

ここを見そうな方を暫定でreviewer指定しています

@tsuyoshicho tsuyoshicho self-assigned this Mar 16, 2024
@tsuyoshicho tsuyoshicho changed the title fix: Update test for Async.Promise .wait tests fix: Update tests for Async.Promise .wait Mar 16, 2024
test/Async/Promise.vimspec Outdated Show resolved Hide resolved
test/Async/Promise.vimspec Outdated Show resolved Hide resolved
test/Async/Promise.vimspec Outdated Show resolved Hide resolved
test/Async/Promise.vimspec Outdated Show resolved Hide resolved
Copy link
Member

@ujihisa ujihisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

偉業

tsuyoshicho and others added 2 commits March 17, 2024 08:38
Co-authored-by: ujihisa <ujihisa@users.noreply.github.com>
Apply similar change to other comments.

Co-authored-by: ujihisa <ujihisa@users.noreply.github.com>
@tsuyoshicho
Copy link
Contributor Author

英語が雑なところありました、修正指摘ありがとうございます @ujihisa
他の方もう一人がapproveされたら、そのときにマージしていただければと思います。

@tsuyoshicho
Copy link
Contributor Author

@koron cc: @thinca and others
ping

問題ないならマージしたいです

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.

Problem: Failed Async.Promise .wait test in Windows
2 participants