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

Create a per test PAM client in pam services. #34

Merged
merged 1 commit into from
Sep 14, 2023
Merged

Conversation

didrocks
Copy link
Member

Still keeps the brokers global, but create per test PAM client and service.
The service will rely on the cache itself, which will be different per tests to assert on addition/update of given users.

Still keeps the brokers global, but create per test PAM client and
service.
The service will rely on the cache itself, which will be different per
tests to assert on addition/update of given users.

Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
@didrocks didrocks requested a review from a team as a code owner September 14, 2023 13:54
Copy link
Member

@denisonbarbosa denisonbarbosa 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 (and CI is still passing, so you didn't break my tests 😂) !

@didrocks
Copy link
Member Author

Looks good to me (and CI is still passing, so you didn't break my tests 😂) !

Yes, that was one of the first thing we did :) Of course, we did hit the unix socket path length limitation, hence the use of os.MkdirTemp :p

@didrocks didrocks merged commit d364cc5 into main Sep 14, 2023
3 checks passed
@didrocks didrocks deleted the pam_client_per_tests branch September 14, 2023 14:26
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