-
Notifications
You must be signed in to change notification settings - Fork 2.2k
test: add test rolling update docker #2999
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2999 +/- ##
==========================================
+ Coverage 89.94% 89.97% +0.02%
==========================================
Files 139 139
Lines 9479 9483 +4
==========================================
+ Hits 8526 8532 +6
+ Misses 953 951 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Latency summaryCurrent PR yields:
Breakdown
Backed by latency-tracking. Further commits will update this comment. |
def update_rolling(flow, pod_name): | ||
with reraise: | ||
flow.rolling_update(pod_name) | ||
|
||
error_mock = mocker.Mock() | ||
with Flow().add( | ||
uses=uses, |
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.
Does this test actually fail without your changes?
The assert down
error_mock.assert_not_called()
seems weak. Can u check?
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.
this test hangs without these changes
994df97
to
a3bf7c8
Compare
No description provided.