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 indicating waived failures when there is no scenario #5863

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

Conversation

AdamWill
Copy link
Contributor

@AdamWill AdamWill commented Mar 4, 2025

On the Automated Tests tab, when a required test failed but the failure has been waived, we intend to show a thumbs-up icon with a tooltip with details about the waiver. However, if the failed test has no 'scenario', this doesn't work, because there's a hash key mismatch (we store the waiver under key "testcase##null" but look it up under key "testcase##no_scenario").

This should fix that, and mean we correctly note waived failures for Fedora CI results (openQA ones always have a scenario).

@AdamWill AdamWill requested a review from a team as a code owner March 4, 2025 23:40
@AdamWill
Copy link
Contributor Author

AdamWill commented Mar 4, 2025

tested this by doing a local script override on the affected update - https://bodhi.fedoraproject.org/updates/FEDORA-2025-68042562fc - and with this change overridden into place, it correctly shows the thumbsup icon with tooltip.

On the Automated Tests tab, when a required test failed but the
failure has been waived, we intend to show a thumbs-up icon with
a tooltip with details about the waiver. However, if the failed
test has no 'scenario', this doesn't work, because there's a
hash key mismatch (we store the waiver under key "testcase##null"
but look it up under key "testcase##no_scenario").

This should fix that, and mean we correctly note waived failures
for Fedora CI results (openQA ones always have a scenario).

Signed-off-by: Adam Williamson <[email protected]>
@AdamWill AdamWill force-pushed the fix-waiver-display-when-no-scenario branch from 2f7a3e7 to 683a724 Compare March 4, 2025 23:42
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.

1 participant