We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the test_config_changed_port and test_config_changed_log_level tests, the clean-up steps
test_config_changed_port
test_config_changed_log_level
await app.reset_config(["exporter-port"])
may not execute in case of a failure in any of the previous lines of code.
In order to fix this, we would need a cleanup phase where even if an error occurs, the cleanup will happen before the test exits.
The text was updated successfully, but these errors were encountered:
The addCleanup method could be used for this purpose if we define the TestCharm as a TestCase.
addCleanup
TestCharm
Sorry, something went wrong.
No branches or pull requests
In the
test_config_changed_port
andtest_config_changed_log_level
tests, the clean-up stepsmay not execute in case of a failure in any of the previous lines of code.
In order to fix this, we would need a cleanup phase where even if an error occurs, the cleanup will happen before the test exits.
The text was updated successfully, but these errors were encountered: