Skip to content

YML Testing: Add distribution support to skip #30933

@nik9000

Description

@nik9000

We've been reusing our yml tests against different Elasticsearch distributions for a long time and we've been skipping tests that are broken against distributions using tests.rest.blacklist. While tests.rest.blacklist works it is suboptimal because the "normal" place to look for a skipped tests is in the test source code rather than in the build.gradle file. So I'd like to add skip: distribution style support. It'd look like this:

    - skip:
        distribution: zip
        reason: xpack creates some templates that make this test not pass

We'd like this sooner rather than later because we're starting to reuse the yml tests for distributions. It'd also be super nice to have this for #30665.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions