Skip to content

Commit

Permalink
Exclude desired_nodes validation tests from mixed-cluster QA (elastic…
Browse files Browse the repository at this point in the history
  • Loading branch information
ldematte authored Oct 16, 2023
1 parent d532b51 commit 454cd35
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions qa/mixed-cluster/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ excludeList.add('aggregations/filter/Standard queries get cached')
excludeList.add('aggregations/filter/Terms lookup gets cached')
excludeList.add('aggregations/filters_bucket/cache hits')

// These tests check setting validations in the desired_node API.
// Validation (and associated tests) are supposed to be skipped/have
// different behaviour for versions before and after 8.10 but mixed
// cluster tests may not respect that - see the comment above.
excludeList.add('cluster.desired_nodes/10_basic/Test settings are validated')
excludeList.add('cluster.desired_nodes/10_basic/Test unknown settings are forbidden in known versions')
excludeList.add('cluster.desired_nodes/10_basic/Test unknown settings are allowed in future versions')
excludeList.add('cluster.desired_nodes/10_basic/Test some settings can be overridden')
excludeList.add('cluster.desired_nodes/20_dry_run/Test validation works for dry run updates')

BuildParams.bwcVersions.withWireCompatible { bwcVersion, baseName ->

if (bwcVersion != VersionProperties.getElasticsearchVersion()) {
Expand Down

0 comments on commit 454cd35

Please sign in to comment.