Skip to content

Fixing breaking test#78188

Merged
masseyke merged 1 commit intoelastic:7.xfrom
masseyke:fix/freeze-action-deprecation-test-failure
Sep 22, 2021
Merged

Fixing breaking test#78188
masseyke merged 1 commit intoelastic:7.xfrom
masseyke:fix/freeze-action-deprecation-test-failure

Conversation

@masseyke
Copy link
Copy Markdown
Member

Fixing.a random test failure where the deprecated freeze action is sometimes used when creating an ILM phase
Relates #77969

@masseyke masseyke requested a review from dakrone September 22, 2021 13:51
@masseyke masseyke added the :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. label Sep 22, 2021
@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Sep 22, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Copy Markdown
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

LGTM, left one informational comment but nothing that needs a change

TimeseriesLifecycleType.INSTANCE.validate(coldPhase.values());
}
if (actions.containsKey(FreezeAction.NAME)) {
assertSettingDeprecationsAndWarnings(new String[0], TimeseriesLifecycleType.FREEZE_ACTION_DEPRECATION_WARNING);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Super minor, but we have Strings.EMPTY_ARRAY for this also if needed (it doesn't really matter much here)

@masseyke masseyke merged commit b084aaf into elastic:7.x Sep 22, 2021
@masseyke masseyke deleted the fix/freeze-action-deprecation-test-failure branch September 22, 2021 15:04
@danhermann danhermann added the >test Issues or PRs that are addressing/adding tests label Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. Team:Data Management (obsolete) DO NOT USE. This team no longer exists. >test Issues or PRs that are addressing/adding tests v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants