From e58e439c87de880a4bd5c016336068a1829b54e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= Date: Thu, 10 Oct 2024 17:14:07 +0200 Subject: [PATCH] journald: set initial cursor Otherwise an empty timestamp is used in "journalctl" as "since". --- pytest_mh/utils/journald.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pytest_mh/utils/journald.py b/pytest_mh/utils/journald.py index 16c1705..8437942 100644 --- a/pytest_mh/utils/journald.py +++ b/pytest_mh/utils/journald.py @@ -38,6 +38,7 @@ def setup(self) -> None: Called before execution of each test. """ self._test_start = self.now + self._cursor = self._test_start def get_artifacts_list(self, host: MultihostHost, artifacts_type: MultihostArtifactsType) -> set[str]: """