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

Eliminating initial delay of CoordinationDiagnosticsService#beginPollingClusterFormationInfo for integration tests #89001

Merged

Conversation

masseyke
Copy link
Member

@masseyke masseyke commented Aug 1, 2022

CoordinationDiagnosticsService#beginPollingClusterFormationInfo schedules a task to run after an initial delay of
10 seconds. CoordinationDiagnosticsServiceIT is asserting that we have results in 10 seconds or less (using the
default assertBusy). This commit exposes a way for integration tests to change that initial delay so that we don't
waste 10 seconds waiting for the task to be scheduled.

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Aug 1, 2022
@masseyke masseyke changed the title Increasing assertBusy time for test that takes right at 10 seconds Eliminating initial delay of CoordinationDiagnosticsService#beginPollingClusterFormationInfo for integration tests Aug 1, 2022
@masseyke masseyke merged commit 352a688 into elastic:main Aug 1, 2022
@masseyke masseyke deleted the fix/CoordinationDiagnosticsServiceIT branch August 1, 2022 18:42
masseyke added a commit to masseyke/elasticsearch that referenced this pull request Aug 1, 2022
elasticsearchmachine pushed a commit that referenced this pull request Aug 1, 2022
* backporting #88874

* Eliminating initial delay of CoordinationDiagnosticsService#beginPollingClusterFormationInfo for integration tests (#89001)
@masseyke
Copy link
Member Author

masseyke commented Aug 2, 2022

Relates to #89001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants