GeezerVison is showing github.com — test: fix flaky testPolicy_AllSuccess_StopsOnFirstFailure test by ggivo · Pull Request #4503 · redis/jedis
Conversation
ggivo
commented
Apr 28, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Test uses interval(5), causing a new health check to be scheduled before probes for the existing one complete.
fix: use default healthcheck interval 1s, giving time for probes to be performed
Note
Low Risk
Low risk: test-only change that adjusts health check config to avoid overlapping scheduled runs and reduce timing-related flakiness.
Overview
Updates HealthCheckTest.testPolicy_AllSuccess_StopsOnFirstFailure to stop overriding interval/timeout in the strategy config, relying on defaults so the probe sequence completes before a new scheduled health check can start.
This stabilizes the assertion that BuiltIn.ALL_SUCCESS stops after the first failed probe by removing timing-sensitive scheduling behavior from the test.
Reviewed by Cursor Bugbot for commit 1784c7b. Bugbot is set up for automated code reviews on this repo. Configure here.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
using .interval(5) cause new health check to be scheduled before probes for existing one completes
fix: use default healthcheck intercal 1s, giving time for probes to be performed
Test Results
191 files ±0 191 suites ±0 11m 36s ⏱️ +5s
9 262 tests ±0 9 206 ✅ ±0 56 💤 ±0 0 ❌ ±0
9 292 runs ±0 9 236 ✅ ±0 56 💤 ±0 0 ❌ ±0
Results for commit 4ed10f3. ± Comparison against base commit 62b2e38.
♻️ This comment has been updated with latest results.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
jit-ci
Bot
commented
Apr 28, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
🛡️ Jit Security Scan Results
✅ No security findings were detected in this PR
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
tishun
tishun approved these changes
atakavci
atakavci approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.