Skip to content

Add allowed warnings to index template v2 YAML tests#54535

Merged
dakrone merged 1 commit intoelastic:7.xfrom
dakrone:itv2-add-allowed-warnings-to-tests
Mar 31, 2020
Merged

Add allowed warnings to index template v2 YAML tests#54535
dakrone merged 1 commit intoelastic:7.xfrom
dakrone:itv2-add-allowed-warnings-to-tests

Conversation

@dakrone
Copy link
Copy Markdown
Member

@dakrone dakrone commented Mar 31, 2020

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 >test Issues or PRs that are addressing/adding tests :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. v8.0.0 v7.8.0 labels Mar 31, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Member

@jbaiera jbaiera left a comment

Choose a reason for hiding this comment

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

LGTM

@dakrone dakrone merged commit 0f312c8 into elastic:7.x Mar 31, 2020
@dakrone dakrone deleted the itv2-add-allowed-warnings-to-tests branch March 31, 2020 21:34
dakrone added a commit to dakrone/elasticsearch that referenced this pull request Mar 31, 2020
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 added a commit that referenced this pull request Mar 31, 2020
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. >test Issues or PRs that are addressing/adding tests v7.8.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants