-
Notifications
You must be signed in to change notification settings - Fork 38
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
cli: add exit code error for timeout await expiration #2501
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2501 +/- ##
=======================================
Coverage 29.68% 29.69%
=======================================
Files 404 404
Lines 30711 30711
=======================================
+ Hits 9117 9119 +2
+ Misses 20825 20823 -2
Partials 769 769
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
4172a2f
to
78187b5
Compare
531ffb1
to
d91ec90
Compare
d91ec90
to
8653da0
Compare
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.
LGTM
@roman-khimov do we need an issue to adopt our tests to this behavior?
8653da0
to
20eaf4e
Compare
|
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.
We'll need a test for this exit code, but existing tests will likely work just fine (IIRC they don't care about particular exit codes). If there are any appropriate tests already, then yes, we just need to adjust them to check for this new code.
223d656
to
54461bd
Compare
77a8952
to
d30ff11
Compare
65c5690
to
d82eb0d
Compare
This commit addresses the scenario where a timeout, set by the --await flag, expires during processing. We now return a new error code specifically for this case, ErrAwaitTimeout. Closes #2380. Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
d82eb0d
to
3b52b93
Compare
A new error code is added for awaiting timeout expiration.
Closes [#2380]