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
feat(artifacts): add optional timeout parameter to artifacts wait() #4181
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM, concerned about just how big the array is for the test failure with the 2 second timeout. Maybe we should just test the 0 second time out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #4181 +/- ##
==========================================
- Coverage 82.64% 82.63% -0.02%
==========================================
Files 256 256
Lines 32569 32574 +5
==========================================
Hits 26918 26918
- Misses 5651 5656 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Fixes WB-8590
Description
Add optional timeout parameter to Artifact.wait()
Testing
Unit tests testing that the wait() fails if the timeout runs out and wait() successes when there is no timeout or wait is finished faster than timeout
Checklist