diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-12-18 12:13:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 12:13:25 -0500 |
commit | f38ba3cafcc838b81d45238603089340e016d353 (patch) | |
tree | 5468e3aa0b80a046fef2e8884e7f25c2d77527c5 /tests/integration_tests/conftest.py | |
parent | ac17c6a25ba5b7d13e1420329fdb74b29cfd58ae (diff) | |
download | vyos-cloud-init-f38ba3cafcc838b81d45238603089340e016d353.tar.gz vyos-cloud-init-f38ba3cafcc838b81d45238603089340e016d353.zip |
integration_tests: log the path we collect logs into (#733)
This makes it easier to find the failure logs when you're running a
bunch of similar tests in parallel.
Diffstat (limited to 'tests/integration_tests/conftest.py')
-rw-r--r-- | tests/integration_tests/conftest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration_tests/conftest.py b/tests/integration_tests/conftest.py index 2d12045c..68d506bd 100644 --- a/tests/integration_tests/conftest.py +++ b/tests/integration_tests/conftest.py @@ -174,6 +174,7 @@ def _collect_logs(instance: IntegrationInstance, node_id: str, log_dir = Path( integration_settings.LOCAL_LOG_PATH ) / session_start_time / node_id_path + log.info("Writing logs to %s", log_dir) if not log_dir.exists(): log_dir.mkdir(parents=True) tarball_path = log_dir / 'cloud-init.tar.gz' |