Skip to content

Commit 7671d21

Browse files
Fix versions for reindex max_docs tests (#42951)
Versions were assuming this went into 7.2, but this ended up going into 7.3, updated test versions to reflect that. Related to #41894
1 parent 3667db9 commit 7671d21

File tree

7 files changed

+51
-51
lines changed

7 files changed

+51
-51
lines changed

modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/10_basic.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@
282282
---
283283
"Limit by size":
284284
- skip:
285-
version: " - 7.1.99"
286-
reason: "deprecation warnings only emitted on 7.2+"
285+
version: " - 7.2.99"
286+
reason: "deprecation warnings only emitted on 7.3+"
287287
features: warnings
288288

289289
- do:
@@ -326,10 +326,10 @@
326326
- match: {count: 1}
327327

328328
---
329-
"Limit by size pre 7.2":
329+
"Limit by size pre 7.3":
330330
- skip:
331-
version: "7.2.0 - "
332-
reason: "7.2 should use max_docs or get deprecation warning"
331+
version: "7.3.0 - "
332+
reason: "7.3 should use max_docs or get deprecation warning"
333333

334334
- do:
335335
index:
@@ -371,8 +371,8 @@
371371
---
372372
"Limit by max_docs in URL":
373373
- skip:
374-
version: " - 7.1.99"
375-
reason: "max_docs introduced in 7.2.0"
374+
version: " - 7.2.99"
375+
reason: "max_docs introduced in 7.3.0"
376376

377377
- do:
378378
index:
@@ -414,8 +414,8 @@
414414
---
415415
"Limit by max_docs in body":
416416
- skip:
417-
version: " - 7.1.99"
418-
reason: "max_docs introduced in 7.2.0"
417+
version: " - 7.2.99"
418+
reason: "max_docs introduced in 7.3.0"
419419

420420
- do:
421421
index:

modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/20_validation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
---
5050
"invalid max_docs fails":
5151
- skip:
52-
version: " - 7.1.99"
53-
reason: "max_docs introduced in 7.2.0"
52+
version: " - 7.2.99"
53+
reason: "max_docs introduced in 7.3.0"
5454

5555
- do:
5656
index:
@@ -69,8 +69,8 @@
6969
---
7070
"both max_docs and size fails":
7171
- skip:
72-
version: " - 7.1.99"
73-
reason: "max_docs introduced in 7.2.0"
72+
version: " - 7.2.99"
73+
reason: "max_docs introduced in 7.3.0"
7474

7575
- do:
7676
index:

modules/reindex/src/test/resources/rest-api-spec/test/reindex/20_validation.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@
114114
---
115115
"invalid max_docs in body fails":
116116
- skip:
117-
version: " - 7.1.99"
118-
reason: "max_docs introduced in 7.2.0"
117+
version: " - 7.2.99"
118+
reason: "max_docs introduced in 7.3.0"
119119

120120
- do:
121121
index:
@@ -135,8 +135,8 @@
135135
---
136136
"invalid max_docs in URL fails":
137137
- skip:
138-
version: " - 7.1.99"
139-
reason: "max_docs introduced in 7.2.0"
138+
version: " - 7.2.99"
139+
reason: "max_docs introduced in 7.3.0"
140140

141141
- do:
142142
index:
@@ -156,8 +156,8 @@
156156
---
157157
"inconsistent max_docs and size fails":
158158
- skip:
159-
version: " - 7.1.99"
160-
reason: "max_docs introduced in 7.2.0"
159+
version: " - 7.2.99"
160+
reason: "max_docs introduced in 7.3.0"
161161

162162
- do:
163163
index:
@@ -178,8 +178,8 @@
178178
---
179179
"inconsistent max_docs in body and max_docs in URL fails":
180180
- skip:
181-
version: " - 7.1.99"
182-
reason: "max_docs introduced in 7.2.0"
181+
version: " - 7.2.99"
182+
reason: "max_docs introduced in 7.3.0"
183183

184184
- do:
185185
index:

modules/reindex/src/test/resources/rest-api-spec/test/reindex/30_search.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
---
3535
"Sorting and size combined":
3636
- skip:
37-
version: " - 7.1.99"
38-
reason: "deprecation warnings only emitted on 7.2+"
37+
version: " - 7.2.99"
38+
reason: "deprecation warnings only emitted on 7.3+"
3939
features: warnings
4040

4141
- do:
@@ -78,10 +78,10 @@
7878
- match: { hits.total: 1 }
7979

8080
---
81-
"Sorting and size combined pre 7.2":
81+
"Sorting and size combined pre 7.3":
8282
- skip:
83-
version: "7.2.0 - "
84-
reason: "7.2 should use max_docs or get deprecation warning"
83+
version: "7.3.0 - "
84+
reason: "7.3 should use max_docs or get deprecation warning"
8585

8686
- do:
8787
index:
@@ -123,8 +123,8 @@
123123
---
124124
"Sorting and max_docs in body combined":
125125
- skip:
126-
version: " - 7.1.99"
127-
reason: "max_docs introduced in 7.2.0"
126+
version: " - 7.2.99"
127+
reason: "max_docs introduced in 7.3.0"
128128

129129
- do:
130130
index:
@@ -166,8 +166,8 @@
166166
---
167167
"max_docs in URL":
168168
- skip:
169-
version: " - 7.1.99"
170-
reason: "max_docs introduced in 7.2.0"
169+
version: " - 7.2.99"
170+
reason: "max_docs introduced in 7.3.0"
171171

172172
- do:
173173
index:

modules/reindex/src/test/resources/rest-api-spec/test/reindex/90_remote.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@
220220
---
221221
"Reindex from remote with size":
222222
- skip:
223-
version: "7.2.0 - "
224-
reason: "7.2 should use max_docs or get deprecation warning"
223+
version: "7.3.0 - "
224+
reason: "7.3 should use max_docs or get deprecation warning"
225225

226226
- do:
227227
index:
@@ -286,8 +286,8 @@
286286
---
287287
"Reindex from remote with max_docs":
288288
- skip:
289-
version: " - 7.1.99"
290-
reason: "max_docs introduced in 7.2.0"
289+
version: " - 7.2.99"
290+
reason: "max_docs introduced in 7.3.0"
291291

292292
- do:
293293
index:

modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/10_basic.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@
220220
---
221221
"Limit by size":
222222
- skip:
223-
version: " - 7.1.99"
224-
reason: "deprecation warnings only emitted on 7.2+"
223+
version: " - 7.2.99"
224+
reason: "deprecation warnings only emitted on 7.3+"
225225
features: warnings
226226

227227
- do:
@@ -251,10 +251,10 @@
251251
- gte: { took: 0 }
252252

253253
---
254-
"Limit by size pre 7.2":
254+
"Limit by size pre 7.3":
255255
- skip:
256-
version: "7.2.0 - "
257-
reason: "7.2 should use max_docs or get deprecation warning"
256+
version: "7.3.0 - "
257+
reason: "7.3 should use max_docs or get deprecation warning"
258258

259259
- do:
260260
index:
@@ -283,8 +283,8 @@
283283
---
284284
"Limit by max_docs in URL":
285285
- skip:
286-
version: " - 7.1.99"
287-
reason: "max_docs introduced in 7.2.0"
286+
version: " - 7.2.99"
287+
reason: "max_docs introduced in 7.3.0"
288288

289289
- do:
290290
index:
@@ -313,8 +313,8 @@
313313
---
314314
"Limit by max_docs in body":
315315
- skip:
316-
version: " - 7.1.99"
317-
reason: "max_docs introduced in 7.2.0"
316+
version: " - 7.2.99"
317+
reason: "max_docs introduced in 7.3.0"
318318

319319
- do:
320320
index:

modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/20_validation.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
---
2828
"invalid max_docs in URL fails":
2929
- skip:
30-
version: " - 7.1.99"
31-
reason: "max_docs introduced in 7.2.0"
30+
version: " - 7.2.99"
31+
reason: "max_docs introduced in 7.3.0"
3232

3333
- do:
3434
index:
@@ -44,8 +44,8 @@
4444
---
4545
"invalid max_docs in body fails":
4646
- skip:
47-
version: " - 7.1.99"
48-
reason: "max_docs introduced in 7.2.0"
47+
version: " - 7.2.99"
48+
reason: "max_docs introduced in 7.3.0"
4949

5050
- do:
5151
index:
@@ -62,8 +62,8 @@
6262
---
6363
"inconsistent max_docs and size fails":
6464
- skip:
65-
version: " - 7.1.99"
66-
reason: "max_docs introduced in 7.2.0"
65+
version: " - 7.2.99"
66+
reason: "max_docs introduced in 7.3.0"
6767

6868
- do:
6969
index:
@@ -83,8 +83,8 @@
8383
---
8484
"inconsistent max_docs in body and max_docs in URL fails":
8585
- skip:
86-
version: " - 7.1.99"
87-
reason: "max_docs introduced in 7.2.0"
86+
version: " - 7.2.99"
87+
reason: "max_docs introduced in 7.3.0"
8888

8989
- do:
9090
index:

0 commit comments

Comments
 (0)