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

Test: plugin_http_api_test correctly handle keeping logs when a test fails #1084

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

heifner
Copy link
Member

@heifner heifner commented Dec 19, 2024

Fix plugin_http_api_test.py to keep logs when the test fails.
Note: unittest.TestResult().wasSuccessful() always returns True even when a test fails.

This doesn't really resolve #1079 but without this fix there are no logs to determine what went wrong. We can create a new issue if/when it fails again.

Resolves #1079

@heifner heifner requested review from linh2931 and greg7mdp December 19, 2024 15:46
@heifner heifner added the OCI Work exclusive to OCI team label Dec 19, 2024
@heifner heifner merged commit dfacb07 into main Dec 19, 2024
36 checks passed
@heifner heifner deleted the GH-1079-http-api-test branch December 19, 2024 18:51
@ericpassmore
Copy link
Contributor

Note:start
category: Tests
component: Internal
summary: Retain logs when plugin tests fail.
Note:end

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

Successfully merging this pull request may close these issues.

Test failure: plugin_http_category_api_test
4 participants