[autobackport: sssd-2-10] tests: remove multihost tests covered by system tests - #9068
Merged
spoore1 merged 6 commits intoAug 11, 2026
Merged
Conversation
added 6 commits
August 11, 2026 12:16
All 4 cases are covered by system tests: - test_bz1294670 -> test_sudo__duplicate_sudo_user - test_timed_sudoers_entry -> test_sudo__sudonotbefore_shorttime - test_randomize_sudo_timeout -> test_sudo__refresh_random_offset - test_improve_refresh_timers_sudo_timeout -> test_sudo__prefer_full_refresh_over_smart_refresh Co-authored-by: Cursor <cursoragent@cursor.com> Generated-by: claude-sonnet-4-6 Reviewed-by: Scott Poore <spoore@redhat.com> (cherry picked from commit a9112d2)
All 1 case is covered by system tests: - test_sss_cache_reset -> test_cache__invalidate_entries_in_domain_and_timestamps_caches Co-authored-by: Cursor <cursoragent@cursor.com> Generated-by: claude-sonnet-4-6 Reviewed-by: Scott Poore <spoore@redhat.com> (cherry picked from commit 5cc2c3b)
All 4 cases are covered by system tests: - test_001_bz1380436 -> test_sudo__user_is_group - test_002_bz1372440 -> test_sudo__runasuser_fqn - test_003_support_non_posix_group_in_sudorule -> test_sudo__user_is_nonposix_group - test_004_sudorule_with_short_username -> test_sudo__runasuser_shortname Co-authored-by: Cursor <cursoragent@cursor.com> Generated-by: claude-sonnet-4-6 Reviewed-by: Scott Poore <spoore@redhat.com> (cherry picked from commit bf174ca)
All 6 cases are covered by system tests (1:1 mapping): - test_analyze_list -> test_sssctl__analyze_list - test_analyze_diff_log_location -> test_sssctl__analyze_non_default_log_location - test_analyze_pam_logs -> test_sssctl__analyze_pam_logs - test_analyze_tevent_id -> test_sssctl__analyze_tevent_id - test_analyze_parse_child_logs -> test_sssctl__analyze_child_logs - test_non_root_privileged -> test_sssctl__analyze_without_root_privileges Co-authored-by: Cursor <cursoragent@cursor.com> Generated-by: claude-sonnet-4-6 Reviewed-by: Scott Poore <spoore@redhat.com> (cherry picked from commit c731a53)
All 2 cases are covered by system tests: - test_0001_bz1695577 (uid == gid, group exists) -> test_identity__lookup_when_auto_private_groups_is_set_to_hybrid - test_0002_bz1695577 (uid != gid, group exists) -> test_identity__lookup_when_auto_private_groups_is_set_to_hybrid Co-authored-by: Cursor <cursoragent@cursor.com> Generated-by: claude-sonnet-4-6 Reviewed-by: Scott Poore <spoore@redhat.com> (cherry picked from commit a074d5a)
All 1 case is covered by system tests: - test_0001_bz1362023 (user with leading whitespace in userid) -> test_ldap__user_login_with_whitespace_prefix_in_userid Co-authored-by: Cursor <cursoragent@cursor.com> Generated-by: claude-sonnet-4-6 Reviewed-by: Scott Poore <spoore@redhat.com> (cherry picked from commit d8be988)
Contributor
Author
|
The pull request was accepted by @spoore1 with the following PR CI status: 🟢 CodeQL (success) There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging. |
sssd-bot
force-pushed
the
SSSD-sssd-backport-pr9042-to-sssd-2-10
branch
from
August 11, 2026 12:16
033a735 to
8842214
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automatic backport of PR#9042 tests: remove multihost tests covered by system tests to branch sssd-2-10, created by @danlavu.
Please make sure this backport is correct.
Note
The commits were cherry-picked without conflicts.
You can push changes to this pull request
Original commits
a9112d2 - tests: remove multihost/alltests/test_sudo.py
5cc2c3b - tests: remove multihost/alltests/test_sss_cache.py
bf174ca - tests: remove multihost/ad/test_sudo.py
c731a53 - tests: remove multihost/alltests/test_sssctl_analyzer.py
a074d5a - tests: remove multihost/alltests/test_autoprivategroup.py
d8be988 - tests: remove multihost/alltests/test_rfc2307.py
Backported commits
Original Pull Request Body
Remove 6 legacy multihost test files whose scenarios are fully covered by existing system tests.
Each commit removes one file and documents the exact system test function(s) that replaced it.
Files removed
multihost/alltests/test_sudo.pytest_sudo.pymultihost/alltests/test_sss_cache.pytest_cache.pymultihost/ad/test_sudo.pytest_sudo.pymultihost/alltests/test_sssctl_analyzer.pytest_sssctl.pymultihost/alltests/test_autoprivategroup.pytest_identity.pymultihost/alltests/test_rfc2307.pytest_ldap.pyTotal: 18 legacy cases removed, all covered by system tests.
Made with Cursor