Skip to content

Add allowed warnings to index template v2 YAML tests (#54535)#54541

Merged
dakrone merged 1 commit intoelastic:masterfrom
dakrone:itv2-fp-#54535
Mar 31, 2020
Merged

Add allowed warnings to index template v2 YAML tests (#54535)#54541
dakrone merged 1 commit intoelastic:masterfrom
dakrone:itv2-fp-#54535

Conversation

@dakrone
Copy link
Copy Markdown
Member

@dakrone dakrone commented Mar 31, 2020

This is a backport (forwardport) of #54535

There is a setting in ESClientYamlSuiteTestCase under usually() that can install a global
template changing the number of shards for all indices. This can cause warnings when installing v2
templates (see #54367). This adds these as optional warnings so they don't cause failures regardless
of whether the global template is installed or not.

These warnings can be removed when our internal template usage has been moved to index templates v2

Relates to #53101

There is a setting in `ESClientYamlSuiteTestCase` under `usually()` that can install a `global`
template changing the number of shards for all indices. This can cause warnings when installing v2
templates (see elastic#54367). This adds these as optional warnings so they don't cause failures regardless
of whether the global template is installed or not.

These warnings can be removed when our internal template usage has been moved to index templates v2

Relates to elastic#53101
@dakrone dakrone added :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. backport v8.0.0 labels Mar 31, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Indices APIs)

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

Labels

backport :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants