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

testlib: provide a way to know if a test succeeded or failed #21545

Open
KKoukiou opened this issue Jan 23, 2025 · 0 comments
Open

testlib: provide a way to know if a test succeeded or failed #21545

KKoukiou opened this issue Jan 23, 2025 · 0 comments

Comments

@KKoukiou
Copy link
Contributor

Page: testlib

Background: Anaconda-webui generates some JSON report data in the test teardowns. Among these data we store the test result status (pass/fail).

We currently parse it like: error = super().getError()

However, this will not catch errors generated from testlib in the MachineCase teardowns, such as unexpected journal messages.

Please store the test status in MachineCase for consumers to read.

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

No branches or pull requests

1 participant