Skip to content

Commit ea6f0e3

Browse files
authored
[Tests] Update skip version for YAML tests (#52310)
Update skip versions upper boundary to match the release or intented release version of the feature/fix.
1 parent cdd8f38 commit ea6f0e3

File tree

11 files changed

+20
-20
lines changed

11 files changed

+20
-20
lines changed

modules/lang-painless/src/test/resources/rest-api-spec/test/painless/85_script_score_random_score.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
setup:
44
- skip:
5-
version: " - 7.09.99"
6-
reason: "random score function of script score was added in 7.1"
5+
version: " - 7.1.99"
6+
reason: "random score function of script score was added in 7.2"
77

88
---
99
"Random score function with _seq_no field":

rest-api-spec/src/main/resources/rest-api-spec/test/indices.open/10_basic.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585
---
8686
"Close index response with result per index":
8787
- skip:
88-
version: " - 7.99.99"
89-
reason: "close index response reports result per index starting version 8.0.0"
88+
version: " - 7.2.99"
89+
reason: "close index response reports result per index starting version 7.3.0"
9090

9191
- do:
9292
indices.create:

rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/10_basic.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ setup:
1313
---
1414
"Validate query api":
1515
- skip:
16-
version: ' - 7.99.99'
17-
reason: message changed in 8.0.0
16+
version: ' - 7.6.99'
17+
reason: message changed in 7.7.0
1818

1919
- do:
2020
indices.validate_query:

rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/230_composite.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ setup:
775775
---
776776
"Mixed ip and unmapped fields":
777777
- skip:
778-
version: " - 7.99.99"
778+
version: " - 7.5.99"
779779
reason: This will fail against 7.x until the fix is backported there
780780
# It is important that the index *without* the ip field be sorted *before*
781781
# the index *with* the ip field because that has caused bugs in the past.

rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/300_pipeline.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
setup:
22
- skip:
3-
version: " - 7.99.99" #TODO change this after backport
4-
reason: These new error messages were added in 7.1
3+
version: " - 7.1.99"
4+
reason: These new error messages were added in 7.2
55

66
- do:
77
indices.create:

rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
---
142142
'Misspelled fields get "did you mean"':
143143
- skip:
144-
version: " - 7.99.99"
144+
version: " - 7.6.99"
145145
reason: Implemented in 8.0 (to be backported to 7.7)
146146
- do:
147147
catch: /\[significant_terms\] unknown field \[jlp\] did you mean \[jlh\]\?/

rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.create/10_basic.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ setup:
4141
---
4242
"Create a snapshot and clean up repository":
4343
- skip:
44-
version: " - 7.99.99"
45-
reason: cleanup introduced in 8.0
44+
version: " - 7.3.99"
45+
reason: cleanup introduced in 7.4
4646

4747
- do:
4848
snapshot.cleanup_repository:

rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.get/10_basic.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ setup:
157157
---
158158
"Get snapshot info with metadata":
159159
- skip:
160-
version: " - 7.9.99"
161-
reason: "https://github.com/elastic/elasticsearch/pull/41281 not yet backported to 7.x"
160+
version: " - 7.2.99"
161+
reason: "Introduced with 7.3"
162162

163163
- do:
164164
indices.create:

x-pack/plugin/src/test/resources/rest-api-spec/test/indices.freeze/30_usage.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ setup:
1010
---
1111
"Usage stats on frozen indices":
1212
- skip:
13-
version: " - 7.9.99"
14-
reason: "frozen indices have usage stats starting in version 8.0.0"
13+
version: " - 7.3.99"
14+
reason: "frozen indices have usage stats starting in version 7.4"
1515

1616
- do:
1717
index:

x-pack/plugin/src/test/resources/rest-api-spec/test/voting_only_node/10_basic.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"cluster stats with voting only node stats":
33

44
- skip:
5-
version: " - 7.99.99"
6-
reason: "voting only nodes are added in v8.0.0"
5+
version: " - 7.2.99"
6+
reason: "voting only nodes are added in v7.3"
77

88
- do:
99
cluster.stats: {}

x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/40_ml_datafeed_crud.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ setup:
123123
---
124124
"Put job and datafeed with aggs in old cluster - deprecated interval with warning":
125125
- skip:
126-
version: " - 7.99.99" #TODO change this after backport
127-
reason: calendar_interval introduced in 7.1.0
126+
version: " - 7.1.99"
127+
reason: calendar_interval introduced in 7.2.0
128128
features: warnings
129129

130130
- do:

0 commit comments

Comments
 (0)