Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply linear backoff strategy to Client smoke tests #1746

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

rjmello
Copy link
Member

@rjmello rjmello commented Dec 9, 2024

Description

Applying a uniform linear backoff strategy with a 60-second timeout improves test stability and simplifies debugging.

Type of change

  • Code maintenance/cleanup

Applying a uniform linear backoff strategy with a 60-second timeout
improves test stability and simplifies debugging.
@rjmello rjmello added the no-news-is-good-news This change does not require a news file label Dec 9, 2024
Copy link
Contributor

@khk-globus khk-globus left a comment

Choose a reason for hiding this comment

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

One of these days, I'm thinking we rewrite some of these tests to use the Executor (but clearly leave a couple of basal submit tests as well.) Meanwhile, that day is not today, and this fits the bill. Thanks for this.

Copy link
Contributor

@LeiGlobus LeiGlobus left a comment

Choose a reason for hiding this comment

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

Yes, I like the exponential and retries. A lot more effort than my 1 line change to increase to 60 in the past which appeared to reduce incidence but not eliminate them.

Using the executor would be ok but we still need to use a timeout. If the TMEP is unresponsive after a couple of minutes (with retries), I think we should still hear about it.

@rjmello rjmello merged commit b1a47f3 into main Dec 9, 2024
23 checks passed
@rjmello rjmello deleted the smoke-tests-timeout branch December 9, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-news-is-good-news This change does not require a news file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants