Skip to content

Fix other flaky downtime subtests#2357

Merged
h2zh merged 1 commit into
PelicanPlatform:mainfrom
h2zh:fix-other-downtime-subtests
Jun 9, 2025
Merged

Fix other flaky downtime subtests#2357
h2zh merged 1 commit into
PelicanPlatform:mainfrom
h2zh:fix-other-downtime-subtests

Conversation

@h2zh

@h2zh h2zh commented May 28, 2025

Copy link
Copy Markdown
Contributor

This PR is a continuation of #2352, aiming to use the same approach to eliminate the flakiness in other two downtime subtests (here is an example of failure).

  1. Radically increase the test downtime window
  2. Wrap the filter check in an eventually block with deterministic timeout and polling, so that we don't need to worry that downtime setting on the mock server is slower than the test execution.

Closes #2309

@patrickbrophy patrickbrophy self-requested a review May 28, 2025 19:53
@patrickbrophy patrickbrophy self-assigned this May 28, 2025
@patrickbrophy patrickbrophy added bug Something isn't working test Improvements to the test suite labels May 28, 2025
@h2zh h2zh added this to the v7.17 milestone Jun 2, 2025

@patrickbrophy patrickbrophy 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

@h2zh h2zh merged commit e917729 into PelicanPlatform:main Jun 9, 2025
25 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working test Improvements to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A flaky Downtime unit test in GitHub Action

2 participants