Skip to content

Commit b656e0a

Browse files
authored
Remove legacy v1.x skip tags from YAML REST tests (opensearch-project#20374)
* start removing tags Signed-off-by: Elizabeth Liu <esl1350@gmail.com> * v1 skips Signed-off-by: Elizabeth Liu <esl1350@gmail.com> * remove extra blank lines Signed-off-by: Elizabeth Liu <esl1350@gmail.com> --------- Signed-off-by: Elizabeth Liu <esl1350@gmail.com>
1 parent e71f431 commit b656e0a

13 files changed

Lines changed: 0 additions & 119 deletions

File tree

distribution/docker/src/test/resources/rest-api-spec/test/11_nodes.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
1616
---
1717
"Test cat nodes output":
18-
- skip:
19-
version: " - 1.4.99"
20-
reason: "cluster_manager is introduced in 2.0.0"
21-
2218
- do:
2319
cat.nodes: {}
2420

rest-api-spec/src/main/resources/rest-api-spec/test/cat.cluster_manager/10_basic.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ setup:
44

55
---
66
"Help":
7-
- skip:
8-
version: " - 1.4.99"
9-
reason: "path _cat/cluster_manager is introduced in 2.0.0"
10-
117
- do:
128
cat.cluster_manager:
139
help: true
@@ -25,10 +21,6 @@ setup:
2521
2622
---
2723
"Test cat cluster_manager output":
28-
- skip:
29-
version: " - 1.4.99"
30-
reason: "path _cat/cluster_manager is introduced in 2.0.0"
31-
3224
- do:
3325
cat.cluster_manager: {}
3426
allowed_warnings:

rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@
3737
3838
---
3939
"Help":
40-
- skip:
41-
version: " - 1.4.99"
42-
reason: "discovered_cluster_manager is added in OpenSearch 2.0.0"
4340
- do:
4441
cat.health:
4542
help: true

rest-api-spec/src/main/resources/rest-api-spec/test/cat.nodes/10_basic.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
2424
---
2525
"Test cat nodes output":
26-
- skip:
27-
version: " - 1.4.99"
28-
reason: "cluster_manager is introduced in 2.0.0"
29-
3026
- do:
3127
cat.nodes: {}
3228

rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,6 @@
201201

202202
---
203203
"Get cluster health has same value for discovered_master and discovered_cluster_manager":
204-
- skip:
205-
version: " - 1.4.99"
206-
reason: "discovered_cluster_manager is added in 2.0.0"
207204
- do:
208205
cluster.health: {}
209206
- set:

rest-api-spec/src/main/resources/rest-api-spec/test/cluster.reroute/10_basic.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55

66
---
77
"Cluster reroute returns cluster_manager_node":
8-
- skip:
9-
version: " - 1.4.99"
10-
reason: "The metric cluster_manager_node is added to cluster state in version 2.0.0"
11-
128
- do:
139
cluster.reroute: {}
1410

rest-api-spec/src/main/resources/rest-api-spec/test/cluster.reroute/20_response_filtering.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515

1616
---
1717
"Filter the cluster reroute by cluster_manager_node only should work":
18-
- skip:
19-
version: " - 1.4.99"
20-
reason: "The metric cluster_manager_node is added to cluster state in version 2.0.0"
21-
2218
- do:
2319
cluster.reroute:
2420
metric: [ cluster_manager_node ]

rest-api-spec/src/main/resources/rest-api-spec/test/cluster.state/10_basic.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616

1717
---
1818
"Get cluster state returns cluster_manager_node":
19-
- skip:
20-
version: " - 1.4.99"
21-
reason: "The metric cluster_manager_node is added to cluster state in version 2.0.0"
22-
2319
- do:
2420
cluster.state: {}
2521

rest-api-spec/src/main/resources/rest-api-spec/test/cluster.state/20_filtering.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,6 @@ setup:
184184

185185
---
186186
"Filter the cluster state by cluster_manager_node only should work":
187-
- skip:
188-
version: " - 1.4.99"
189-
reason: "The metric cluster_manager_node is added to cluster state in version 2.0.0"
190-
191187
- do:
192188
cluster.state:
193189
metric: [ cluster_manager_node ]

rest-api-spec/src/main/resources/rest-api-spec/test/cluster.stats/10_basic.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@
9090

9191
---
9292
"get cluster stats nodes count with both master and cluster_manager":
93-
- skip:
94-
version: " - 1.4.99"
95-
reason: "node role cluster_manager is added in 2.0.0"
96-
9793
- do:
9894
cluster.stats: {}
9995

0 commit comments

Comments
 (0)