-
Notifications
You must be signed in to change notification settings - Fork 266
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
Add timeout option to service create #1643
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.
@vyasgun: 0 warnings.
In response to this:
Description
Add
--timeout
option which will set the field,timeoutInSeconds
in service spec.Changes
- Added the flag
Reference
Fixes #1181
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Codecov Report
@@ Coverage Diff @@
## main #1643 +/- ##
==========================================
+ Coverage 79.27% 79.28% +0.01%
==========================================
Files 171 171
Lines 12906 12914 +8
==========================================
+ Hits 10231 10239 +8
Misses 1955 1955
Partials 720 720
Continue to review full report at Codecov.
|
/retest |
pkg/serving/config_changes_test.go
Outdated
@@ -151,6 +151,17 @@ func TestPinImageToDigestNilContainerStatus(t *testing.T) { | |||
assert.NilError(t, err) | |||
} | |||
|
|||
func TestPinImageToDigestNilContainerSpec(t *testing.T) { |
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 belong to this PR?
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.
Shouldn't there rather be timeout setting tests?
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.
I was trying to improve coverage to prevent the codecov project failure. Removed this test
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.
IMO adding unit test to cover this flag in create and update operations would help with coverage. Since the common flag doesn't have its own test file, but are rather tested with those ops.
1f7fe7b
to
1b107cb
Compare
/retest |
1b107cb
to
9b5a9c4
Compare
158ccab
to
184ce4e
Compare
cbba583
to
95a1527
Compare
95a1527
to
3842507
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.
Thanks!
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dsimansk, vyasgun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
Add
--timeout
option which will set the field,timeoutInSeconds
in service spec.Changes
Reference
Fixes #1181