Conversation
|
The intg tests have been rewritten by @madhuriupadhye, #8272 and #8262 |
There was a problem hiding this comment.
Code Review
This pull request removes the test_netgroup.py integration test suite. This is a significant change that lacks any explanation in the PR description. Removing a large number of tests without justification is highly discouraged as it reduces test coverage and increases the risk of future regressions. It is critical to clarify if these tests are obsolete or are being replaced by another test suite. Additionally, the cleanup is incomplete, leaving behind orphaned files like sss_netgroup_thread_test.c and sssd_netgroup.py, along with their associated build configurations. These should be removed to avoid accumulating dead code.
I am having trouble creating individual review comments. Click here to see my feedback.
src/tests/intg/test_netgroup.py (1-539)
This pull request removes a large suite of integration tests for netgroup functionality without any explanation. Deleting tests is highly risky as it removes a safety net against future regressions. Please provide a clear justification for this removal in the pull request description. If these tests are being superseded by others (e.g., the ones in src/tests/multihost/alltests/test_netgroup.py), this should be stated.
src/tests/intg/test_netgroup.py (1-539)
The removal of this test file leaves several orphaned components, which creates dead code and increases maintenance burden.
- The test
test_innetgr_with_threads(lines 537-539) was the sole user of thesss_netgroup_thread_testbinary. The C source filesss_netgroup_thread_test.cand its build rules insrc/tests/intg/Makefile.amare now obsolete. - The helper module
sssd_netgroup.py(imported on line 35) was used extensively here and is likely now unused.
Please remove these orphaned files and build configurations as part of this pull request.
spoore1
left a comment
There was a problem hiding this comment.
Looks pretty trivial and straight forward.
LGTM.
Reviewed-by: Scott Poore <spoore@redhat.com>
a5819d9 to
87c99bb
Compare
|
The pull request was accepted by @spoore1 with the following PR CI status: 🟢 CodeFactor (success) There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging. |
No description provided.