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-6840 | fix: Add json output test for external auth #1899

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

chenz4027
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Apr 3, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 21.16%. Comparing base (50a6168) to head (a958983).
Report is 16 commits behind head on master.

Files Patch % Lines
cmd/list/externalauthprovider/cmd.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1899      +/-   ##
==========================================
- Coverage   21.89%   21.16%   -0.73%     
==========================================
  Files         117      118       +1     
  Lines       18929    19780     +851     
==========================================
+ Hits         4144     4187      +43     
- Misses      14471    15278     +807     
- Partials      314      315       +1     

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

@gdbranco
Copy link
Contributor

gdbranco commented Apr 3, 2024

/approve
/lgtm

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

@gdbranco hmm not sure why, but it still misses the approved label though

@@ -79,7 +79,7 @@ func runWithRuntime(r *rosa.Runtime, cmd *cobra.Command) error {
r.Reporter.Errorf("%s", err)
os.Exit(1)
Copy link
Contributor

Choose a reason for hiding this comment

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

@chenz4027 Can we also remove this os.Exit() and return the err instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, @robpblake I'll work on it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It finally passes all tests. @robpblake Would you mind taking a look?

@openshift-ci openshift-ci bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed lgtm Indicates that a PR is ready to be merged. labels Apr 4, 2024
@chenz4027
Copy link
Contributor Author

/retest

1 similar comment
@chenz4027
Copy link
Contributor Author

/retest

Signed-off-by: Maggie Chen <magchen@redhat.com>

change to error

Signed-off-by: Maggie Chen <magchen@redhat.com>

change text

Signed-off-by: Maggie Chen <magchen@redhat.com>
@andreadecorte
Copy link
Contributor

lgtm

@chenz4027
Copy link
Contributor Author

/retest

Copy link
Contributor

openshift-ci bot commented Apr 4, 2024

@chenz4027: 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.

Copy link
Member

@ciaranRoche ciaranRoche left a comment

Choose a reason for hiding this comment

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

/lgtm

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

openshift-ci bot commented Apr 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chenz4027, ciaranRoche, gdbranco

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:
  • OWNERS [ciaranRoche,gdbranco]

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 ebcb463 into openshift:master Apr 5, 2024
9 checks passed
@chenz4027 chenz4027 deleted the OCM-6840-test branch May 9, 2024 14:52
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

5 participants