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

Fix test for provider server logs #10541

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ebondare
Copy link
Contributor

@ebondare ebondare commented Sep 20, 2024

Fixes #10549

Signed-off-by: Elena Bondarenko <[email protected]>
@ebondare ebondare requested a review from a team as a code owner September 20, 2024 09:26
amr1ta
amr1ta previously approved these changes Sep 20, 2024
Copy link
Contributor

@amr1ta amr1ta left a comment

Choose a reason for hiding this comment

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

Looking good

Signed-off-by: Elena Bondarenko <[email protected]>
Signed-off-by: Elena Bondarenko <[email protected]>
@pull-request-size pull-request-size bot added size/S PR that changes 10-29 lines and removed size/XS labels Sep 20, 2024
nehaberry
nehaberry previously approved these changes Sep 23, 2024
Copy link
Contributor

@nehaberry nehaberry left a comment

Choose a reason for hiding this comment

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

LGTM

@nehaberry
Copy link
Contributor

@ebondare it would have been good to have an ocs-ci issue associated with the same.

Also, since the logs can keep changing, shall we find another way to check the presence, instead of hardcoding the statement of the logs?

f"{cephclient['metadata']['annotations']['ocs.openshift.io.storageclaim']}-"
f"{cephclient['metadata']['annotations']['ocs.openshift.io.cephusertype']}"
)
except KeyError as err:
Copy link
Contributor

Choose a reason for hiding this comment

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

we need to have assertion on this I think.
If you don’t want to fail test in the middle and collect results of all checks please follow the test_dashboard_validation_ui example: save results of this check along with others to the dict and validate in the end of the test

Signed-off-by: Elena Bondarenko <[email protected]>
Copy link

openshift-ci bot commented Sep 23, 2024

New changes are detected. LGTM label has been removed.

Copy link

openshift-ci bot commented Sep 23, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ebondare

The full list of commands accepted by this bot can be found 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

1 similar comment
Copy link

openshift-ci bot commented Sep 23, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ebondare

The full list of commands accepted by this bot can be found 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S PR that changes 10-29 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provider server logs test is failing
4 participants