summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-12-18 12:13:25 -0500
committerGitHub <noreply@github.com>2020-12-18 12:13:25 -0500
commitf38ba3cafcc838b81d45238603089340e016d353 (patch)
tree5468e3aa0b80a046fef2e8884e7f25c2d77527c5
parentac17c6a25ba5b7d13e1420329fdb74b29cfd58ae (diff)
downloadvyos-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.
-rw-r--r--tests/integration_tests/conftest.py1
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'