Skip to content

Conversation

@pxsalehi
Copy link
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 Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. labels Mar 8, 2023
@elasticsearchmachine elasticsearchmachine added v8.8.0 Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. labels Mar 8, 2023
@elasticsearchmachine
Copy link
Collaborator

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

@pxsalehi pxsalehi requested review from idegtiarenko and tlrx March 8, 2023 10:35
@pxsalehi
Copy link
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
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 Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >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