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

[Backport][ipa-4-8] Fix scope on pytest fixture in krbtpolicy tests #5296

Closed
wants to merge 1 commit into from

Conversation

rcritten
Copy link
Contributor

This PR was opened automatically because PR #5281 was pushed to master and backport to ipa-4-8 is required.

0d67180 introduced the with_admin
fixture using class scope, which caused test failures as pytest
instantiated it before the multihost fixture.

It additionally failed to account for jitter - the issued ticket becomes
within a window of the expected lifetime, so we need to include the
ticket lifetime jitter into that calculation.

Finally, the PKINIT test could not have ever worked because PKINIT is
not set up as part of policy testing.

Related: https://pagure.io/freeipa/issue/8590

Also-authored-by: Rob Crittenden <rcritten@redhat.com>
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Signed-off-by: Rob Crittenden <rcritten@redhat.com>
@rcritten
Copy link
Contributor Author

PR was ACKed automatically because this is backport of PR #5281. Wait for CI to finish before pushing. In case of questions or problems contact @frozencemetery who is author of the original PR.

@rcritten rcritten added ack Pull Request approved, can be merged re-run Trigger a new run of PR-CI labels Nov 25, 2020
@freeipa-pr-ci freeipa-pr-ci removed the re-run Trigger a new run of PR-CI label Nov 26, 2020
@flo-renaud flo-renaud added the pushed Pull Request has already been pushed label Nov 26, 2020
@flo-renaud
Copy link
Contributor

ipa-4-8:

@flo-renaud flo-renaud closed this Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
4 participants