Skip to content

Commit

Permalink
journald: set initial cursor
Browse files Browse the repository at this point in the history
Otherwise an empty timestamp is used in "journalctl" as "since".
  • Loading branch information
pbrezina committed Oct 10, 2024
1 parent bcab2be commit 05a257f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytest_mh/utils/journald.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
"""
Expand Down

0 comments on commit 05a257f

Please sign in to comment.