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

Add DW UI test to Verify CPU and Memory resource usage Exceeds warning threshold #2138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Srihari1192
Copy link
Contributor

Closes https://issues.redhat.com/browse/RHOAIENG-16160

  • Added test to Verify that CPU and memory resource usage surpass the warning threshold when the requested resources exceed 150% of the shared quota.
  • Enhanced the Kueue workload script to support parallelism specifications for threshold warning verification
  • Updated the teardown step for Verify Requested resources When Multiple Local Queue Exists to make sure resources deleted

Copy link

sonarcloud bot commented Dec 17, 2024

Copy link
Contributor

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
589 0 0 589 100

@Srihari1192
Copy link
Contributor Author

Tested the all DW UI tests here /job/rhoai-test-flow/2137

@Srihari1192 Srihari1192 marked this pull request as ready for review December 17, 2024 13:37
Mouse Over xpath=(//*[name()='svg']//*[local-name()='g']//*[local-name()='path'])[4]
${hover_cpu_warning} = Get Requested Resources Tooltip Text
Should Match ${hover_cpu_warning} Requested resources have surpassed 150%
Mouse Over xpath=//*[@id="requested-resources-chart-CPU-ChartLegend-ChartLabel-0"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this mouse over is needed ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This mouse hover is occurring outside the chart because, after the first hover, there is a delay of a few seconds before it disappears, which interferes with the subsequent hover actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants