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: wait for journal to rotate in testLogs #19590

Merged
merged 1 commit into from
Nov 8, 2023

Commits on Nov 8, 2023

  1. test: wait for journal to rotate in testLogs

    In our CI the testLogs sometimes does not get a `START` and then fails.
    From the failed log it looks like this is due to journal being rotated.
    The user test case already sleeps to let journalctl settle so now we
    unify this approach.
    
    Nov 08 13:13:09 ubuntu systemd[1]: Started test.service - Test Service.
    Nov 08 13:13:09 ubuntu test-service[2427]: START
    Nov 08 13:13:09 ubuntu systemd-journald[271]: Received client request to rotate journal.
    
    Nov 08 13:19:51 ubuntu systemd-journald[271]: Received client request to rotate journal.
    Nov 08 13:19:52 ubuntu test-service[2480]: START
    Nov 08 13:19:57 ubuntu test-service[2480]: WORKING
    jelly committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    faee455 View commit details
    Browse the repository at this point in the history