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

ipatests: fix wrong condition in xfail_context for auto private grp #6239

Closed
wants to merge 1 commit into from

Conversation

flo-renaud
Copy link
Contributor

The tests
TestNonPosixAutoPrivateGroup::test_idoverride_with_auto_private_group
and
TestPosixAutoPrivateGroup::test_gidnumber_not_corresponding_existing_group
are expected to fail until SSSD fixes issues 5988 and 5989.
They currently define an xfail_context with a condition based on
sssd version but that condition is wrong (as of today, no version
of sssd provides the fix).

Remove the wrong condition so that the test is always expected to fail.

Fixes: https://pagure.io/freeipa/issue/9141

The tests
TestNonPosixAutoPrivateGroup::test_idoverride_with_auto_private_group
and
TestPosixAutoPrivateGroup::test_gidnumber_not_corresponding_existing_group
are expected to fail until SSSD fixes issues 5988 and 5989.
They currently define an xfail_context with a condition based on
sssd version but that condition is wrong (as of today, no version
of sssd provides the fix).

Remove the wrong condition so that the test is always expected to fail.

Fixes: https://pagure.io/freeipa/issue/9141
@flo-renaud
Copy link
Contributor Author

Link to successful run of fedora-latest/test_trust: Details
Removing the temp commit

@flo-renaud flo-renaud added needs review Pull Request is waiting for a review ipa-4-9 Mark for backport to ipa 4.9 labels Apr 23, 2022
@amore17
Copy link
Contributor

amore17 commented Apr 25, 2022

@flo-renaud Thank you for reporting issue and fixing this. LGTM

@amore17 amore17 added the ack Pull Request approved, can be merged label Apr 25, 2022
@flo-renaud flo-renaud added the pushed Pull Request has already been pushed label Apr 25, 2022
@flo-renaud
Copy link
Contributor Author

master:

  • fbfd64f ipatests: fix wrong condition in xfail_context for auto private grp

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 ipa-4-9 Mark for backport to ipa 4.9 needs review Pull Request is waiting for a review pushed Pull Request has already been pushed
Projects
None yet
2 participants