Skip to content

add check for diskutilization alert#14717

Open
anajain16 wants to merge 1 commit intored-hat-storage:masterfrom
anajain16:diskutilization
Open

add check for diskutilization alert#14717
anajain16 wants to merge 1 commit intored-hat-storage:masterfrom
anajain16:diskutilization

Conversation

@anajain16
Copy link
Contributor

In these test cases , for disk utilization alert threshold of 90% is being achieved sometimes , just added a check to see if this alert is also triggered

Signed-off-by: anajain16 <anajain@redhat.com>
@anajain16 anajain16 requested a review from a team as a code owner March 18, 2026 10:49
@pull-request-size pull-request-size bot added the size/S PR that changes 10-29 lines label Mar 18, 2026
@openshift-ci
Copy link

openshift-ci bot commented Mar 18, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: anajain16

The full list of commands accepted by this bot can be found here.

Details 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

) == constants.ALERT_ODF_DISK_UTILIZATION_HIGH and (
alert.get("state") == "pending" or alert["state"] == "firing"
):
log.info("Disk utilization alert active")
Copy link
Contributor

Choose a reason for hiding this comment

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

pls add assertion in both cases

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.

2 participants