Skip to content

Add policy tests forcing legacy policy_api_format#3389

Merged
jsoriano merged 1 commit intoelastic:mainfrom
jsoriano:recover-policy-test-new-api
Mar 23, 2026
Merged

Add policy tests forcing legacy policy_api_format#3389
jsoriano merged 1 commit intoelastic:mainfrom
jsoriano:recover-policy-test-new-api

Conversation

@jsoriano
Copy link
Copy Markdown
Member

These tests were originally included in #3307, but removed because the required setting was not available in the Package Spec version.

See #3307 (comment).

@jsoriano jsoriano requested a review from a team March 19, 2026 12:53
@jsoriano jsoriano self-assigned this Mar 19, 2026
@jsoriano jsoriano enabled auto-merge (squash) March 19, 2026 12:54
Copy link
Copy Markdown
Contributor

@mrodm mrodm left a comment

Choose a reason for hiding this comment

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

LGTM
IIRC these packages under other are using the default stack version, so once the default version is updated to 9.3.2 or 9.4.0 (relates to elastic/kibana#256047) , those tests should work with the simplified API too (but not tested with latest snapshots).

Should this be forced to run in a different stack version (e.g. 9.3.1)? Maybe it is not needed, because this test package will ensure that using the legacy API still works here even with the latest stack versions.

@jsoriano jsoriano merged commit 9f6004e into elastic:main Mar 23, 2026
4 checks passed
@jsoriano
Copy link
Copy Markdown
Member Author

Should this be forced to run in a different stack version (e.g. 9.3.1)?

Sorry, I had this in auto-merge, PR open for this: #3406

I am moving this to "parallel" tests, as "other" tests are all run on the same stack.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants