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: add 'expo_force' tests #7726

Closed
wants to merge 1 commit into from
Closed

Conversation

shridhargadekar
Copy link
Contributor

The new value for the ldap_pwmodify_mode option 'exop_force' is added to existing test. A new test to illustrate the different behavior of 'exop' and 'exop_force' is added.

Reviewed-by: Justin Stephenson [email protected]
Reviewed-by: Pavel Březina [email protected]
(cherry picked from commit deefe9a)

The new value for the ldap_pwmodify_mode option 'exop_force' is added to
existing test. A new test to illustrate the different behavior of 'exop'
and 'exop_force' is added.

Reviewed-by: Justin Stephenson <[email protected]>
Reviewed-by: Pavel Březina <[email protected]>
(cherry picked from commit deefe9a)
@@ -14,8 +16,7 @@

@pytest.mark.ticket(bz=[795044, 1695574])
@pytest.mark.importance("critical")
@pytest.mark.authentication
Copy link
Member

Choose a reason for hiding this comment

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

Is this removal intentional / why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The authentication marker has been dropped. The 'critical' marker is being used from branch 2-9 onwards.

@@ -56,7 +57,8 @@ def test_ldap__change_password(client: Client, ldap: LDAP, modify_mode: str):


@pytest.mark.ticket(bz=[795044, 1695574])
@pytest.mark.parametrize("modify_mode", ["exop", "ldap_modify"])
@pytest.mark.importance("critical")
Copy link
Member

@alexey-tikhonov alexey-tikhonov Nov 28, 2024

Choose a reason for hiding this comment

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

If all of this intentional - addition of "critical", removal of "authentication", etc, then I would prefer to have those in a separate preliminary commit.

And then a clean backport cherry-pick on top.

CC @danlavu

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are those unwarranted changes I was talking about in MR ldap_login_grace. sssd-2-9 and master have 'critical' as importance markers. Whereas sssd-2-9-4 (rhel-8-10) has 'authentication' marker.
These kind of changes are not even related to the main MR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are those unwarranted changes I was talking about in MR ldap_login_grace. sssd-2-9 and master have 'critical' as importance markers. Whereas sssd-2-9-4 (rhel-8-10) has 'authentication' marker.
These kind of changes are not even related to the main MR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That' why instead of cherry picking the MR, I chose to backport manually in #7722

@jakub-vavra-cz jakub-vavra-cz self-assigned this Dec 2, 2024
@jakub-vavra-cz jakub-vavra-cz self-requested a review December 2, 2024 07:27
Copy link
Contributor

@jakub-vavra-cz jakub-vavra-cz left a comment

Choose a reason for hiding this comment

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

Hello,
please add a detection of exop_force feature and run these tests with it only when it is available.
As exop_force is a new functionality it should have its own feature jira and requirement synced to the polarion. The requirement and ticket should be present here.

@shridhargadekar
Copy link
Contributor Author

Hello,
deleting this one, and adding new one #7738

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.

4 participants