Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix check for max journal size #81

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

richm
Copy link
Contributor

@richm richm commented Aug 18, 2024

Some systems report the max size as 2G instead of 2.0G:

Aug 18 17:54:34 xxxxxx systemd-journald[14084]: System Journal (/var/log/journal/c353583eb4fd4abf81720811415b21e0) is 8M, max 2G, 1.9G free.

Also add some debugging for test failures

Signed-off-by: Rich Megginson [email protected]

@richm richm requested a review from spetrosi as a code owner August 18, 2024 21:31
@richm richm force-pushed the debug-test-failures branch from f60063d to 12536f1 Compare August 18, 2024 22:04
@richm richm changed the title test: debug test failures test: fix check for max journal size Aug 18, 2024
@richm
Copy link
Contributor Author

richm commented Aug 18, 2024

[citest]

spetrosi
spetrosi previously approved these changes Aug 19, 2024
@richm richm force-pushed the debug-test-failures branch 2 times, most recently from 881856d to 015acc7 Compare August 19, 2024 15:01
@richm
Copy link
Contributor Author

richm commented Aug 19, 2024

[citest]

Some systems report the max size as 2G instead of 2.0G:

```
Aug 18 17:54:34 xxxxxx systemd-journald[14084]: System Journal (/var/log/journal/c353583eb4fd4abf81720811415b21e0) is 8M, max 2G, 1.9G free.
```

Some systems have "max" in the hostname and the test would match the wrong line.

Also add some debugging for test failures

Signed-off-by: Rich Megginson <[email protected]>
@richm richm force-pushed the debug-test-failures branch from 015acc7 to 8f0f52a Compare August 19, 2024 15:31
@richm
Copy link
Contributor Author

richm commented Aug 19, 2024

[citest]

@richm richm merged commit e019bb5 into linux-system-roles:main Aug 19, 2024
15 checks passed
@richm richm deleted the debug-test-failures branch August 19, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants