Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented May 18, 2018

Switches the rolling upgrade tests from upgrading two nodes to upgrading
three nodes which is much more realistic and much better able to find
unexpected bugs. It upgrades the nodes one at a time and runs tests
between each upgrade. As such this now has four test runs:

  1. Old
  2. One third upgraded
  3. Two thirds upgraded
  4. Upgraded

It sets system properties so the tests can figure out which stage they
are in. It reuses the same yml tests for the "one third" and "two
thirds" cases because they are almost the same case.

This rewrites the yml-based indexing tests to be Java based because the
yml-based tests can't handle different expected values for the counts.
And the indexing tests need that when they are run twice.

Closes #25336

Switches the rolling upgrade tests from upgrading two nodes to upgrading
three nodes which is much more realistic and much better able to find
unexpected bugs. It upgrades the nodes one at a time and runs tests
between each upgrade. As such this now has four test runs:

1. Old
2. One third upgraded
3. Two thirds upgraded
4. Upgraded

It sets system properties so the tests can figure out which stage they
are in. It reuses the same yml tests for the "one third" and "two
thirds" cases because they are *almost* the same case.

This rewrites the yml-based indexing tests to be Java based because the
yml-based tests can't handle different expected values for the counts.
And the indexing tests need that when they are run twice.

Closes elastic#25336
@nik9000 nik9000 added >test Issues or PRs that are addressing/adding tests review :Delivery/Build Build or test infrastructure v6.4.0 labels May 18, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@nik9000
Copy link
Member Author

nik9000 commented May 18, 2018

I wouldn't normally open a PR for a fairly simple backport like this one but @ywelsch needs this to test some things.

@nik9000 nik9000 removed the v6.4.0 label May 21, 2018
@nik9000
Copy link
Member Author

nik9000 commented May 21, 2018

I'm going to close this without any version labels so we can track the merge in the usual way in #30728. I'll still merge this code to 6.x but github might not thing it is merged.

@nik9000 nik9000 closed this May 21, 2018
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants