Skip to content
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

OCM-7593 | test: automate id:OCP-36128 Updated a new checkpoint #1959

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

aaraj7
Copy link
Contributor

@aaraj7 aaraj7 commented Apr 24, 2024

@openshift-ci openshift-ci bot requested review from yasun1 and yuwang-RH April 24, 2024 06:45
@aaraj7 aaraj7 force-pushed the ocp-36128 branch 3 times, most recently from 9ca675a to d627dc2 Compare April 24, 2024 07:34
Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 23.22%. Comparing base (8d577cb) to head (465a422).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1959      +/-   ##
==========================================
+ Coverage   22.91%   23.22%   +0.30%     
==========================================
  Files         134      136       +2     
  Lines       20979    21160     +181     
==========================================
+ Hits         4807     4914     +107     
- Misses      15817    15879      +62     
- Partials      355      367      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

_, output, err := userService.ListUsers(clusterID)
Expect(err).ToNot(HaveOccurred())
textData := rosaClient.Parser.TextData.Input(output).Parse().Tip()
Expect(textData).To(ContainSubstring(fmt.Sprintf("INFO: There are no users configured for cluster '%s'", clusterID)))
Copy link
Contributor

@xueli181114 xueli181114 Apr 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ContainSubstring supports Sprintf, don't need to sprintf again

Suggested change
Expect(textData).To(ContainSubstring(fmt.Sprintf("INFO: There are no users configured for cluster '%s'", clusterID)))
Expect(textData).To(ContainSubstring("INFO: There are no users configured for cluster '%s'", clusterID))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xueli181114 Yes updated, Thanks

@xueli181114
Copy link
Contributor

/approve

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 25, 2024
@aaraj7
Copy link
Contributor Author

aaraj7 commented Apr 25, 2024

/retest

Copy link
Contributor

openshift-ci bot commented Apr 25, 2024

@aaraj7: all tests passed!

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@yingzhanredhat
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 25, 2024
Copy link
Contributor

openshift-ci bot commented Apr 25, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aaraj7, xueli181114, yingzhanredhat

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 4b3b5be into openshift:master Apr 25, 2024
10 checks passed
@aaraj7 aaraj7 deleted the ocp-36128 branch April 25, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants