Skip to content

fixing and making automatic kcm renewal test more forgiving#8183

Merged
alexey-tikhonov merged 1 commit into
SSSD:masterfrom
danlavu:tests-kcm-renewal
Nov 24, 2025
Merged

fixing and making automatic kcm renewal test more forgiving#8183
alexey-tikhonov merged 1 commit into
SSSD:masterfrom
danlavu:tests-kcm-renewal

Conversation

@danlavu

@danlavu danlavu commented Nov 12, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request aims to fix a flaky test for KCM ticket renewal. While increasing the sleep time is a good step towards making the test more robust, changing the ticket lifetime from 2s to 1s actually makes the test more prone to race conditions and thus more flaky. I've provided a suggestion to make the test more reliable.

Comment thread src/tests/system/tests/test_kcm.py Outdated
Comment thread src/tests/system/tests/test_kcm.py Outdated
@ikerexxe ikerexxe added the Trivial A single reviewer is sufficient to review the Pull Request label Nov 20, 2025
@ikerexxe
ikerexxe requested a review from spoore1 November 20, 2025 13:39
@danlavu danlavu changed the title fixing and making automatic kcm renewal test more foriving fixing and making automatic kcm renewal test more forgiving Nov 20, 2025

@spoore1 spoore1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. I ran some tests and it's passing for all of what I've run so far.

@sssd-bot

Copy link
Copy Markdown
Contributor

The pull request was accepted by @alexey-tikhonov with the following PR CI status:


🟢 CodeFactor (success)
🟢 CodeQL (success)
NEUTRAL osh-diff-scan:fedora-rawhide-x86_64:upstream (neutral)
🟢 rpm-build:centos-stream-10-x86_64:upstream (success)
🟢 rpm-build:fedora-41-x86_64:upstream (success)
🟢 rpm-build:fedora-42-x86_64:upstream (success)
🟢 rpm-build:fedora-43-x86_64:upstream (success)
🟢 rpm-build:fedora-rawhide-x86_64:upstream (success)
🟢 Analyze (target) / cppcheck (success)
🟢 ci / intgcheck (centos-10) (success)
🟢 ci / intgcheck (fedora-41) (success)
🟢 ci / intgcheck (fedora-42) (success)
🟢 ci / intgcheck (fedora-43) (success)
🟢 ci / intgcheck (fedora-44) (success)
🟢 ci / prepare (success)
🟢 ci / system (centos-10) (success)
🟢 ci / system (fedora-41) (success)
🟢 ci / system (fedora-42) (success)
🟢 ci / system (fedora-43) (success)
🟢 ci / system (fedora-44) (success)
➖ Coverity scan / coverity (skipped)
🟢 Static code analysis / codeql (success)
🟢 Static code analysis / pre-commit (success)
🟢 Static code analysis / python-system-tests (success)


There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging.

@alexey-tikhonov
alexey-tikhonov merged commit fc159ed into SSSD:master Nov 24, 2025
9 of 14 checks passed
@danlavu
danlavu deleted the tests-kcm-renewal branch January 23, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accepted backport-to-sssd-2-9-4 Corresponds to C8S backport-to-sssd-2-9 Trivial A single reviewer is sufficient to review the Pull Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants