elasticsearch/qa
Lorenzo Dematté 2b175653d9
YAML test framework: separate skip and requires sections (#104140)
* Introduce Prerequisites criteria (Predicate + factory) for modular skip decisions
- Removed accessors to specific criteria from SkipSection (used only on tests), adjusted test assertions
- Moved Features check (YAML test runner features) to SkipSection build time

* Separated check for xpack/no_xpack
Check for xpack is cluster-configuration (modules installed) dependent, while Features are meant to be "static" test-runner capabilities. We separate them so checks on one (test-runner features) can be run before and separately from the other.

* Consolidate skip() methods
- Divide require and skip predicates
- Divide requires and skip parsing (distinct sections)
- Renaming SkipSection to PrerequisiteSection and related methods/fields (e.g. skip -> evaluate)

* Refactoring tests
- moving and adding VersionRange tests
- adding specific version and os skip tests
- modified parse/validate/build to make SkipSection more unit-testable

* Adding cluster feature-based skip criteria
* Updated javadoc + renaming + better skip reason message
2024-01-15 14:48:36 +01:00
..
apm Rename tracing to telemetry package (#99710) 2023-09-20 16:58:02 +02:00
ccs-common-rest YAML test framework: separate skip and requires sections (#104140) 2024-01-15 14:48:36 +01:00
ccs-rolling-upgrade-remote-cluster Test Fix: Add failure store feature flag to ccs rolling upgrade tests (#103484) 2024-01-02 09:37:11 -07:00
ccs-unavailable-clusters Make use of constants and utility methods to build empty SearchHits instances (#103983) 2024-01-05 17:43:06 +01:00
custom-rest-controller Rename tracing to telemetry package (#99710) 2023-09-20 16:58:02 +02:00
evil-tests Add a docs link to the log message about each failing bootstrap check (#99644) 2023-09-21 02:45:28 -04:00
full-cluster-restart Fix failing test in release mode (#103883) 2024-01-03 15:27:32 -08:00
logging-config Add Configuration to PatternLayout (#97679) 2023-07-26 12:32:37 +02:00
mixed-cluster Cleanup Nodes class (#101363) 2023-10-26 14:30:43 +02:00
multi-cluster-search Replace Version with String in YAML framework, pushing Version parsing where is actually needed (#103311) 2024-01-03 09:29:40 +01:00
no-bootstrap-tests Add support for reading stable plugin descriptors (#88731) 2022-07-26 10:28:24 +09:30
packaging Bring packaging tests README up to date (#102675) 2023-11-28 08:36:56 -05:00
remote-clusters Drop HLRC from this test (#101681) 2023-11-01 14:14:51 -04:00
repository-multi-version Move index version constants to IndexVersions (#101094) 2023-10-19 20:44:51 -04:00
rolling-upgrade Awaits fix #103473 2024-01-03 15:25:49 -08:00
rolling-upgrade-legacy Make cosine similarity faster by storing magnitude and normalizing vectors (#99445) 2023-12-01 13:45:43 -05:00
smoke-test-http Remove NamedWriteableRegistry from NodeClient, pass it directly through to rest actions (#103277) 2024-01-11 12:42:22 +00:00
smoke-test-ingest-disabled Add JUnit rule based integration test cluster orchestration framework (#92379) 2022-12-21 15:33:46 -08:00
smoke-test-ingest-with-all-dependencies Externalize TemplateScript.Factory rendering from IngestDocument (#103363) 2023-12-14 20:01:11 -05:00
smoke-test-multinode Expose reconciliation metrics via APM (#102244) 2023-11-16 17:58:50 +01:00
smoke-test-plugins Add JUnit rule based integration test cluster orchestration framework (#92379) 2022-12-21 15:33:46 -08:00
stable-api Validate that stable plugins do not break compatibility (#92776) 2023-01-18 06:48:48 -05:00
system-indices Remove NamedWriteableRegistry from NodeClient, pass it directly through to rest actions (#103277) 2024-01-11 12:42:22 +00:00
unconfigured-node-name Add JUnit rule based integration test cluster orchestration framework (#92379) 2022-12-21 15:33:46 -08:00
verify-version-constants Remove index version and transport version from main endpoint response (#97675) 2023-07-18 06:36:46 -07:00
build.gradle Do not create unused testCluster (#77581) 2021-09-23 03:45:59 -04:00