Skip to content

Revert to 1 node cluster for YAML tests and avoid wait for green#94385

Merged
elasticsearchmachine merged 4 commits intoelastic:mainfrom
pxsalehi:ps230308-avoidWaitForGreenInYamlTests
Mar 8, 2023
Merged

Revert to 1 node cluster for YAML tests and avoid wait for green#94385
elasticsearchmachine merged 4 commits intoelastic:mainfrom
pxsalehi:ps230308-avoidWaitForGreenInYamlTests

Conversation

@pxsalehi
Copy link
Copy Markdown
Member

@pxsalehi pxsalehi commented Mar 8, 2023

I have reviewed the tests that motivated the use of a two node cluster for the YAML tests. It seems there is no reason anymore to use wait_for_status: green and number_of_replicas: 0 since the default values make sure the write will succeed. There are many newer YAML tests where an index creation is followed by an index operation, w/o waiting for green. With this PR, I'm reverting the changes in #94304, and instead modify the tests.

@pxsalehi pxsalehi added >test Issues or PRs that are addressing/adding tests :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. labels Mar 8, 2023
@elasticsearchmachine elasticsearchmachine added v8.8.0 Team:Distributed Meta label for distributed team. labels Mar 8, 2023
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@pxsalehi pxsalehi requested review from idegtiarenko and tlrx March 8, 2023 10:35
@pxsalehi
Copy link
Copy Markdown
Member Author

pxsalehi commented Mar 8, 2023

@elasticmachine update branch

@pxsalehi pxsalehi added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Mar 8, 2023
@elasticsearchmachine elasticsearchmachine merged commit 5010402 into elastic:main Mar 8, 2023
@pxsalehi pxsalehi deleted the ps230308-avoidWaitForGreenInYamlTests branch March 8, 2023 12:26
@pxsalehi
Copy link
Copy Markdown
Member Author

pxsalehi commented Mar 8, 2023

(@mark-vieira FYI, I've reverted the changes to the YAML test cluster size.)

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

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. Team:Distributed Meta label for distributed team. >test Issues or PRs that are addressing/adding tests v8.8.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants