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

Check application logs in config test #45

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

MonicaisHer
Copy link
Contributor

@MonicaisHer MonicaisHer commented Mar 21, 2024

This PR will resolve #43. It checks application logs by calling waitForApplicationLogMessage(), which runs snap logs in config test, instead of calling utils.WaitForLogMessage() which runs journalctl.

The waitForApplicationLogMessage() function added by this PR could be moved to the utils package for wider usage if needed, in case other test suites also need to check application logs.

@MonicaisHer MonicaisHer marked this pull request as ready for review March 21, 2024 14:09
Copy link
Contributor

@locnnil locnnil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Great job!

@farshidtz farshidtz merged commit b5b0ac9 into canonical:main Apr 9, 2024
2 checks passed
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.

Improve config test to check application logs instead of from syslog
3 participants