-
Notifications
You must be signed in to change notification settings - Fork 244
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
Verify deployment config after component create with flags #2499
Verify deployment config after component create with flags #2499
Conversation
/retest |
tests/helper/helper_oc.go
Outdated
@@ -181,6 +181,13 @@ func (oc *OcRunner) DescribeDc(dcName string, namespace string) string { | |||
return strings.TrimSpace(describeInfo) | |||
} | |||
|
|||
// GetDcPorts returns the ports of the component | |||
func (oc *OcRunner) GetDcPorts(componentName string, appName string, project string) string { | |||
session := CmdShouldPass(oc.path, "get", "dc", componentName+"-"+appName, "--namespace", project, |
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.
session -> ports
@@ -202,7 +209,7 @@ func (oc *OcRunner) MaxCPU(componentName string, appName string, project string) | |||
return maxMemory | |||
} | |||
|
|||
// MinCPU reuturns maximum cpu | |||
// MinCPU reuturns minimum cpu |
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.
you resolved the maximum
to minimum
correctly but missed the reuturns
😆
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 |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: girishramnani 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 |
What type of PR is this?
/kind test
What does does this PR do / why we need it:
Verifies deployment config with flags.
Which issue(s) this PR fixes:
Fixes #2483
How to test changes / Special notes to the reviewer:
$ make test-cmd-cmp && make test-cmd-cmp-sub