Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added mock to stop leaking journalctl that slows down unit test (#…
…4556) In test_logs.py, test_collect_logs_includes_optional_userdata() would leak the journalctl subprocess call because it did not mock subprocess.call() like test_collect_logs_creates_tarfile() does. This would cause the unit test to take a long time to run because it was calling the actual journalctl command. Fixes GH-4536
- Loading branch information