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: test case audit and house keeping #7160

Closed
wants to merge 1 commit into from
Closed

Conversation

danlavu
Copy link

@danlavu danlavu commented Feb 1, 2024

  • standardized all system test case names in the new framework
  • test_ldap.py: moved tests from test_offline.py, and test_rootdse.py because they have one topology which only ldap. renamed test_rootdse.py test cases names
  • test_authentication.py: updated non descripted docstrings.
  • test_identity.py: moved tests from test_autoprivategroup.py, because it perfroms an identity lookup and is one test case.
  • test_autofs.py: removed ldap from autofs requirement, because test cases are now generic.
  • test_proxy.py: updated test case name to reflect what is being tested -- test case should be updated
  • test_memory_cache.py: renamed test cases to make it more readable
  • test_sssctl.py merged with test_sssctl_analyze.py
  • test_default_debug_level.py renamed to logging.py

@danlavu danlavu self-assigned this Feb 1, 2024
@danlavu danlavu force-pushed the audit branch 4 times, most recently from ff42452 to 3f3fa58 Compare February 2, 2024 12:24
@danlavu danlavu marked this pull request as draft February 2, 2024 13:12
@danlavu danlavu force-pushed the audit branch 2 times, most recently from d73b1a5 to 6a25585 Compare February 3, 2024 23:08
@danlavu danlavu marked this pull request as ready for review February 3, 2024 23:09
@danlavu
Copy link
Author

danlavu commented Feb 3, 2024

Added the QE team to review it, it's a big change from how we used to do things.

Copy link
Contributor

@spoore1 spoore1 left a comment

Choose a reason for hiding this comment

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

Overall it looks like a good start to standardizing and consolidating things. I do agree that there seems to be room for merging several tests. Mostly just some questions and some minor suggested updates.

src/tests/system/tests/test_autofs.py Show resolved Hide resolved
src/tests/system/tests/test_config.py Show resolved Hide resolved
src/tests/system/tests/test_identity.py Outdated Show resolved Hide resolved
src/tests/system/tests/test_ldap.py Outdated Show resolved Hide resolved
src/tests/system/tests/test_ldap.py Show resolved Hide resolved
src/tests/system/tests/test_memory_cache.py Show resolved Hide resolved
src/tests/system/tests/test_memory_cache.py Show resolved Hide resolved
src/tests/system/tests/test_memory_cache.py Show resolved Hide resolved
Copy link
Contributor

@spoore1 spoore1 left a comment

Choose a reason for hiding this comment

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

LGTM.

- standardized all system test case names in the new framework
- test_ldap.py: moved tests from test_offline.py, and test_rootdse.py because they have one topology which only ldap. renamed test_rootdse.py test cases names
- test_authentication.py: updated non descripted docstrings.
- test_identity.py: moved tests from test_autoprivategroup.py, because it perfroms an identity lookup and is one test case.
- test_autofs.py: removed ldap from autofs requirement, because test cases are now generic.
- test_proxy.py: updated test case name to reflect what is being tested -- test case should be updated
- test_memory_cache.py: renamed test cases to make it more readable
- test_sssctl.py merged with test_sssctl_analyze.py
- test_default_debug_level.py renamed to logging.py
@pbrezina
Copy link
Member

Pushed PR: #7160

  • master
    • 03f68e8 - tests: test case audit and house keeping

@pbrezina pbrezina added Pushed and removed Accepted Ready to push Ready to push labels Apr 11, 2024
@pbrezina pbrezina closed this Apr 11, 2024
@pbrezina
Copy link
Member

@danlavu There was conflict on sssd-2-9. Can you please open standalone PR for that branch?

@danlavu
Copy link
Author

danlavu commented Apr 11, 2024

@pbrezina ack

@alexey-tikhonov
Copy link
Member

Pushed PR: #7160

* `master`
  
  * [03f68e8](https://github.com/SSSD/sssd/commit/03f68e81d0c7e4ff57f73fdf6e3739389991e446) - tests: test case audit and house keeping

This patch somehow / for some reason re-introduces tests that use '--genconf-...' options that are gone, so tests are red.

@danlavu danlavu deleted the audit branch April 17, 2024 02:50
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.

5 participants