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

tests: Update ldap test to use journal utility. #7622

Closed
wants to merge 1 commit into from

Conversation

jakub-vavra-cz
Copy link
Contributor

The test is freezing in idmci due to journalctl being in interactive mode.
Switch to use journal utility instead.

)
assert log.rc == 0, "'Password change failed.' message is not in log!"
Copy link
Member

Choose a reason for hiding this comment

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

Patrik and Dan added is_match that returns bool for this case:

match = client.journald.is_match("pam_sss(passwd:chauthtok): User info message: Password change failed.", unit="sssd")
assert match, msg

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

src/tests/system/tests/test_ldap.py Outdated Show resolved Hide resolved
@jakub-vavra-cz jakub-vavra-cz force-pushed the frozen_ldap branch 2 times, most recently from 8b29ce0 to 3fb1e64 Compare October 11, 2024 07:43
Copy link
Member

@pbrezina pbrezina left a comment

Choose a reason for hiding this comment

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

Failures are not related.

@pbrezina
Copy link
Member

Pushed PR: #7622

  • master
    • 17c37e4 - tests: Update ldap test to use journal utility.
  • sssd-2-9
    • 1d7a6eb - tests: Update ldap test to use journal utility.

@pbrezina pbrezina added Pushed and removed Accepted Ready to push Ready to push labels Oct 14, 2024
@pbrezina pbrezina closed this Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants