GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: fix flaky testPolicy_AllSuccess_StopsOnFirstFailure test by ggivo · Pull Request #4503 · redis/jedis

Conversation

@ggivo

@ggivo ggivo commented Apr 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

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.

All reactions
@ggivo
test: fix flaky testPolicy_AllSuccess_StopsOnFirstFailure test
1784c7b
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
@ggivo
ggivo requested a review from atakavci April 28, 2026 13:59
@github-actions

github-actions Bot commented Apr 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jit-ci

jit-ci Bot commented Apr 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tishun
tishun approved these changes Apr 28, 2026
View reviewed changes

@tishun tishun left a comment

Copy link
Copy Markdown
Contributor

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.

LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
atakavci
atakavci approved these changes Apr 29, 2026
View reviewed changes

@atakavci atakavci left a comment

Copy link
Copy Markdown
Contributor

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.

LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@atakavci
Merge branch 'master' into topic/ggivo/flaky-testPolicy_AllSuccess_St…
4ed10f3
…opsOnFirstFailure
@ggivo
ggivo merged commit 5572035 into master Apr 29, 2026
19 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@ggivo
ggivo deleted the topic/ggivo/flaky-testPolicy_AllSuccess_StopsOnFirstFailure branch May 21, 2026 08:26
@ggivo ggivo added the testing label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@tishun tishun tishun approved these changes
@atakavci atakavci atakavci approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

testing

Projects

None yet

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.

3 participants

@ggivo @tishun @atakavci
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.