Repository navigation
tests: Add tests for AD Forest multidomain and gpo tests - #9045
Conversation
|
I know this is in a draft, I went ahead and took the liberty of making the multidomain gpo tests closer to the current gpo tests. |
0b88058 to
9be0bc6
Compare
I applied some changes to make it more uniform with test_gpo: 1 — SSSD setup via _ad_forest_configure_sssd 2 — Inlined GPO creation 3 — Aligned object names with test_gpo.py I collapsed some parametrized @pytest.mark.parametrize("method", ["su", "ssh"]) test together and saved ~20minutes of execution compared to original design. (ad forest including gpo is now ~80minutes). |
9be0bc6 to
5dddfe2
Compare
5dddfe2 to
4d8831d
Compare
ecaf14b to
36e28bb
Compare
danlavu
left a comment
There was a problem hiding this comment.
I didn't go through all the test names, but you should get the idea from the comments. I'd like the test name to be as close to the respective generic/ad provider test name.
36e28bb to
05a7c9f
Compare
2a8152a to
eaf2980
Compare
eaf2980 to
8b8a740
Compare
danlavu
left a comment
There was a problem hiding this comment.
Looks good to me, thank you!
8b8a740 to
3fa7524
Compare
Re-design and rewrite of legacy sssd-qe ad_forest and admultidomain suites into test_adforest.py and test_adforest_gpo.py. These suites are downstream (idmci) only. Deprecates: sssd-qe/client/ad_provider/ad_forest sssd-qe/client/ad_provider/ad_gpo_hbac_multidomain sssd/src/tests/multihost/admultidomain/test_multidomain.py Not covered (different topology): sssd/src/tests/multihost/admultidomain/test_multiforest.py Assisted-by: Cursor Reviewed-by: Dan Lavu <dlavu@redhat.com> Reviewed-by: Tomáš Halman <thalman@redhat.com>
Match remaining test names to generic suites, group cases by feature, and break up the initgroups helper for readability. Move fixtures so passkey tests are not broken. Assisted-by: Cursor Reviewed-by: Dan Lavu <dlavu@redhat.com> Reviewed-by: Tomáš Halman <thalman@redhat.com>
I missed this comment. #9401 ;) |
Drop parametrization of su and ssh and calls in the gpo tests. The setup and teardown in AD is costly. This is the same approach Jakub used in PR SSSD#9045 shaving 20 minutes on runtime. AI: Claude Sonnet 5 Co-authored-by: Cursor <cursoragent@cursor.com>
Drop parametrization of su and ssh and calls in the gpo tests. The setup and teardown in AD is costly. This is the same approach Jakub used in PR SSSD#9045 shaving 20 minutes on runtime. AI: Claude Sonnet 5 Co-authored-by: Cursor <cursoragent@cursor.com>
Drop parametrization of su and ssh and calls in the gpo tests. The setup and teardown in AD is costly. This is the same approach Jakub used in PR SSSD#9045 shaving 20 minutes on runtime. AI: Claude Sonnet 5 Co-authored-by: Cursor <cursoragent@cursor.com> Reviewed-by: Jakub Vávra <jvavra@redhat.com>
Drop parametrization of su and ssh and calls in the gpo tests. The setup and teardown in AD is costly. This is the same approach Jakub used in PR #9045 shaving 20 minutes on runtime. AI: Claude Sonnet 5 Co-authored-by: Cursor <cursoragent@cursor.com> Reviewed-by: Jakub Vávra <jvavra@redhat.com>
Re-design and rewrite of legacy sssd-qe ad_forest and admultidomain suites into test_adforest.py and test_adforest_gpo.py. Covers lookup, auth, simple access, ad_access_filter, join other DC scenarios.
These suites are downstream (idmci) only.
Deprecates:
sssd-qe/client/ad_provider/ad_forest
sssd-qe/client/ad_provider/ad_gpo_hbac_multidomain
sssd/src/tests/multihost/admultidomain/test_multidomain.py
Not covered (different topology):
sssd/src/tests/multihost/admultidomain/test_multiforest.py
Depends on SSSD/sssd-test-framework#263