Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15653 from barrettj12/teardown-logs
#15653 When run in verbose mode (`-v` flag), the Bash testing harness will now print controller teardown logs to stdout. Do this using the built-in `OUTPUT` utility function. We are having intermittent teardown failures in many tests. This should help us diagnose the issue(s). ## QA steps Run a test suite but skip all tests, so we can just check bootstrap and teardown. In verbose mode, controller teardown logs are emitted: ```console $ ./main.sh -v -s test_charmrevisionupdater agents ... ====> Destroying juju (ctrl-0ltmoxoh) | Destroying controller | Waiting for hosted model resources to be reclaimed | Waiting for 1 model | All hosted models reclaimed, cleaning up controller machines ====> Destroyed juju (ctrl-0ltmoxoh) ... ``` In non-verbose mode, they are hidden, as before. ```console $ ./main.sh -s test_charmrevisionupdater agents ... ====> Destroying juju (ctrl-ih74p7fe) ====> Destroyed juju (ctrl-ih74p7fe) ... ```
- Loading branch information