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

Reduce debug logs for operatorpolicy test #209

Conversation

JustinKuli
Copy link
Member

Instead of printing the log every time the function fails in one of the Eventually runs, it saves a message and will only print it if the test overall fails. This should reduce noise during the tests.

@JustinKuli
Copy link
Member Author

As a quick comparison, I see only 8k lines in the E2E tests here, compared to https://github.com/open-cluster-management-io/config-policy-controller/actions/runs/7993535507/job/21829566080 where I see 76k lines.

@JustinKuli JustinKuli marked this pull request as ready for review February 28, 2024 20:41
Instead of printing the log every time the function fails in one of the
Eventually runs, it saves a message and will only print it if the test
overall fails. This should reduce noise during the tests.

Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
Copy link

openshift-ci bot commented Feb 28, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dhaiducek, JustinKuli, mprahl

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 [JustinKuli,dhaiducek,mprahl]

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 0671703 into open-cluster-management-io:main Feb 28, 2024
4 checks passed
@JustinKuli JustinKuli deleted the less-test-debugging branch February 29, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants