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

QA: Test template creation during rolling restart #30850

Merged
merged 1 commit into from
May 25, 2018

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented May 24, 2018

Adds a test that we create the appropriate x-pack templates during the
rolling restart from the pre-6.2 OSS-zip distribution to the new zip
distribution that contains xpack. This is one way to answer the question
"does xpack acting sanely during the rolling upgrade and after it?" It
isn't as good as full exercising xpack but it is fairly simple and would
have caught #30832.

Relates to #30731

Adds a test that we create the appropriate x-pack templates during the
rolling restart from the pre-6.2 OSS-zip distribution to the new zip
distribution that contains xpack. This is one way to answer the question
"does xpack acting sanely during the rolling upgrade and after it?" It
isn't as good as full exercising xpack but it is fairly simple and would
have caught elastic#30832.

Relates to elastic#30731
@nik9000 nik9000 added >test Issues or PRs that are addressing/adding tests blocker v6.3.0 :Data Management/Watcher v6.4.0 labels May 24, 2018
@nik9000 nik9000 requested a review from jasontedor May 24, 2018 20:55
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@nik9000
Copy link
Member Author

nik9000 commented May 24, 2018

Note that this targets 6.x and 6.3. It would entirely be skipped in master because you can't do a rolling upgrade from an oss-zip to a default-zip distribution in master because you'd have to go from pre-6.2-oss-zip to 6.latest and then go to master which will be 7.0.

Though I expect we will want some form of this test when we test the rolling restart from oss-zip distribution into the default zip distribution.

@nik9000 nik9000 requested a review from ywelsch May 24, 2018 23:04
Copy link
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

List<String> expectedTemplates = new ArrayList<>();
// Watcher creates its templates as soon as the first watcher node connects
expectedTemplates.add(".triggered_watches");
expectedTemplates.add(".watch-history-8");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For backporting to 6.3, I think this needs to be changed to 7.

@nik9000
Copy link
Member Author

nik9000 commented May 25, 2018

Thanks @ywelsch !

@nik9000 nik9000 merged commit f561bad into elastic:6.x May 25, 2018
nik9000 added a commit that referenced this pull request May 25, 2018
Adds a test that we create the appropriate x-pack templates during the
rolling restart from the pre-6.2 OSS-zip distribution to the new zip
distribution that contains xpack. This is one way to answer the question
"does xpack acting sanely during the rolling upgrade and after it?" It
isn't as good as full exercising xpack but it is fairly simple and would
have caught #30832.

Relates to #30731
dnhatn added a commit that referenced this pull request May 28, 2018
* 6.x:
  Fix double semicolon in import statement
  [TEST] Fix minor random bug from #30794
  Enabling testing against an external cluster (#30885)
  SQL: Remove the last remaining server dependencies from jdbc (#30771)
  Add public key header/footer (#30877)
  Include size of snapshot in snapshot metadata (#29602)
  QA: Test template creation during rolling restart (#30850)
  REST high-level client: add put ingest pipeline API (#30793)
  Do not serialize basic license exp in x-pack info (#30848)
  [docs] explainer for java packaging tests (#30825)
  Verify signatures on official plugins (#30800)
  [DOCS] Document index name limitations (#30826)
  [Docs] Add reindex.remote.whitelist example (#30828)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker :Data Management/Watcher >test Issues or PRs that are addressing/adding tests v6.3.0 v6.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants