Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ teardown:
---
"Test update desired nodes":
- skip:
reason: "contains is a newly added assertion"
features: contains
- do:
cluster.state: {}
Expand Down Expand Up @@ -61,7 +60,6 @@ teardown:
---
"Test update move to a new history id":
- skip:
reason: "contains is a newly added assertion"
features: contains
- do:
cluster.state: {}
Expand Down Expand Up @@ -148,6 +146,7 @@ teardown:
- skip:
version: "8.9.99 - "
reason: "We started skipping setting validations in 8.10"
features: "node_selector"
- do:
cluster.state: {}

Expand All @@ -158,6 +157,8 @@ teardown:
- set: { nodes.$master.version: es_version }

- do:
node_selector:
version: " - 8.9.99"
catch: bad_request
_internal.update_desired_nodes:
history_id: "test"
Expand All @@ -174,6 +175,7 @@ teardown:
- skip:
version: "8.9.99 - "
reason: "We started skipping setting validations in 8.10"
features: "node_selector"
- do:
cluster.state: {}

Expand All @@ -184,6 +186,8 @@ teardown:
- set: { nodes.$master.version: es_version }

- do:
node_selector:
version: " - 8.9.99"
catch: bad_request
_internal.update_desired_nodes:
history_id: "test"
Expand All @@ -200,7 +204,10 @@ teardown:
- skip:
version: "8.9.99 - "
reason: "We started skipping setting validations in 8.10"
features: "node_selector"
- do:
node_selector:
version: " - 8.9.99"
_internal.update_desired_nodes:
history_id: "test"
version: 1
Expand All @@ -213,6 +220,7 @@ teardown:
- skip:
version: "8.9.99 - "
reason: "We started skipping setting validations in 8.10"
features: "node_selector"
- do:
cluster.state: {}

Expand All @@ -223,6 +231,8 @@ teardown:
- set: { nodes.$master.version: es_version }

- do:
node_selector:
version: " - 8.9.99"
_internal.update_desired_nodes:
history_id: "test"
version: 1
Expand All @@ -232,7 +242,11 @@ teardown:
- match: { replaced_existing_history_id: false }
---
"Test node version must be at least the current master version":
- skip:
features: "node_selector"
- do:
node_selector:
version: " - 8.12.99"
catch: bad_request
_internal.update_desired_nodes:
history_id: "test"
Expand All @@ -247,7 +261,11 @@ teardown:
error.suppressed.0.reason: "/Illegal\\snode\\sversion.+$/"
---
"Test node version is required":
- skip:
features: "node_selector"
- do:
node_selector:
version: " - 8.12.99"
catch: bad_request
_internal.update_desired_nodes:
history_id: "test"
Expand All @@ -259,7 +277,11 @@ teardown:
- match: { error.type: x_content_parse_exception }
---
"Test node version must have content":
- skip:
features: "node_selector"
- do:
node_selector:
version: " - 8.12.99"
catch: bad_request
_internal.update_desired_nodes:
history_id: "test"
Expand All @@ -271,7 +293,11 @@ teardown:
- match: { error.type: x_content_parse_exception }
---
"Test node version can not be null":
- skip:
features: "node_selector"
- do:
node_selector:
version: " - 8.12.99"
catch: bad_request
_internal.update_desired_nodes:
history_id: "test"
Expand Down