Class PrerequisiteSection

java.lang.Object
org.elasticsearch.test.rest.yaml.section.PrerequisiteSection

public class PrerequisiteSection extends Object
Represents a section where prerequisites to run a specific test section or suite are specified. It is possible to specify preconditions as a set of `skip` criteria (the test or suite will be skipped if the specified conditions are met) or `requires` criteria (the test or suite will be run only if the specified conditions are met) Criteria are based on: - the elasticsearch cluster version the tests are running against (deprecated) - the features supported by the elasticsearch cluster version the tests are running against - a specific test runner feature - some runners may not implement the whole set of features - an operating system (full name, including specific Linux distributions) - some OS might show a certain behavior