Skip to content

Conversation

@original-brownbear
Copy link
Contributor

@original-brownbear original-brownbear commented Aug 25, 2021

I noticed this recently when trying to reproduce a test failure. We're doing a lot of sleeping
when validating that the cluster formed if that process is slow randomly (which it tends to be
due to disk interaction on node starts and such.). By reusing the approach for waiting on a
cluster state we rarely if ever need to get into the busy assert loop and remove all these sleeps,
shaving of a few seconds here and there from running internal cluster tests.

backport of #76884

…ter Tests (elastic#76884)

I noticed this recently when trying to reproduce a test failure. We're doing a lot of sleeping
when validating that the cluster formed if that process is slow randomly (which it tends to be
due to disk interaction on node starts and such.). By reusing the approach for waiting on a
cluster state we rarely if ever need to get into the busy assert loop and remove all these sleeps,
shaving of a few seconds here and there from running internal cluster tests.
@original-brownbear original-brownbear added :Delivery/Build Build or test infrastructure backport labels Aug 25, 2021
@elasticmachine elasticmachine added the Team:Delivery Meta label for Delivery team label Aug 25, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

@original-brownbear original-brownbear added the >test Issues or PRs that are addressing/adding tests label Aug 25, 2021
@original-brownbear original-brownbear merged commit 079a6ee into elastic:7.x Aug 25, 2021
@original-brownbear original-brownbear deleted the 76884-7.x branch August 25, 2021 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team >test Issues or PRs that are addressing/adding tests v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants