Skip to content

Commit

Permalink
[Remove] 6x skip from yml (#2153)
Browse files Browse the repository at this point in the history
Remove all 6x skip versions from yaml tests since mix 2.0 and 6x clusters are
not supported.

Signed-off-by: Nicholas Walter Knize <[email protected]>
  • Loading branch information
nknize authored Feb 23, 2022
1 parent 52eaf96 commit 3e9a420
Show file tree
Hide file tree
Showing 123 changed files with 7 additions and 758 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@

---
"ngram_exception":
- skip:
version: " - 6.99.99"
reason: only starting from version 7.x this throws an error
- do:
catch: /The difference between max_gram and min_gram in NGram Tokenizer must be less than or equal to[:] \[1\] but was \[2\]\. This limit can be set by changing the \[index.max_ngram_diff\] index level setting\./
indices.analyze:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@

---
"Test with new response format":
- skip:
version: " - 6.99.99"
reason: hits.total is returned as an object in 7.0.0

- do:
index:
index: test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,6 @@ setup:

---
"Test with rest_total_hits_as_int":
- skip:
version: " - 6.99.99"
reason: hits.total is returned as an object in 7.0.0

- do:
put_script:
id: stored_template_1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,6 @@
---

"Exception on negative score":
- skip:
version: " - 6.99.99"
reason: "check on negative scores was added from 7.0.0 on"

- do:
index:
index: test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Sanity integration test to make sure the custom context and whitelist work for moving_fn pipeline agg
#
setup:
- skip:
version: " - 6.3.99"
reason: "moving_fn added in 6.4.0"

- do:
indices.create:
index: test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
# Integration tests for ScriptScoreQuery using Painless

setup:
- skip:
version: " - 6.99.99"
reason: "script score query was introduced in 7.0.0"

---
"Math functions":

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
setup:
- skip:
version: " - 6.99.99"
reason: "Implemented in 7.0"

- do:
indices.create:
index: test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
setup:
- skip:
version: " - 6.99.99"
reason: "The rank feature field/query was introduced in 7.0.0"

- do:
indices.create:
index: test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
setup:
- skip:
version: " - 6.99.99"
reason: "The rank_features field was introduced in 7.0.0"

- do:
indices.create:
index: test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
---
"Test percolator basics via rest":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
indices.create:
index: queries_index
Expand Down Expand Up @@ -74,7 +69,7 @@
percolate:
field: query
index: documents_index
id: some_id
id: some_id
- match: { hits.total: 1 }

- do:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ setup:

---
"Response format":

- skip:
version: " - 6.2.99"
reason: response format was updated in 6.3

- do:
rank_eval:
index: foo,
Expand Down Expand Up @@ -121,11 +116,6 @@ setup:

---
"Mean Reciprocal Rank":

- skip:
version: " - 6.2.99"
reason: response format was updated in 6.3

- do:
rank_eval:
body: {
Expand Down Expand Up @@ -160,11 +150,6 @@ setup:

---
"Expected Reciprocal Rank":

- skip:
version: " - 6.3.99"
reason: ERR was introduced in 6.4

- do:
rank_eval:
body: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
---
"Response format":

- skip:
version: " - 6.1.99"
reason: the ranking evaluation feature is available since 6.2

- do:
index:
index: foo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
---
"Response format":

- skip:
version: " - 6.2.99"
reason: response format was updated in 6.3

- do:
index:
index: foo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ setup:

---
"Basic rank-eval request with template":

- skip:
version: " - 6.1.99"
reason: the ranking evaluation feature is available since 6.2

- do:
rank_eval:
body: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
- skip:
version: "6.7.0 - "
reason: reindex moved to rely on sequence numbers for concurrency control

- do:
indices.create:
index: test
Expand Down Expand Up @@ -145,10 +144,6 @@

---
"Response for version conflict (seq no powered)":
- skip:
version: " - 6.6.99"
reason: reindex moved to rely on sequence numbers for concurrency control

- do:
indices.create:
index: test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@

---
"Response for version conflict (seq no powered)":
- skip:
version: " - 6.6.99"
reason: reindex moved to rely on sequence numbers for concurrency control
- do:
indices.create:
index: test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

---
"annotated highlighter on annotated text":
- skip:
version: " - 6.4.99"
reason: Annotated text type introduced in 6.5.0

- do:
indices.create:
index: annotated
Expand Down Expand Up @@ -80,10 +76,6 @@

---
"issue 39395 thread safety issue -requires multiple calls to reveal":
- skip:
version: " - 6.4.99"
reason: Annotated text type introduced in 6.5.0

- do:
indices.create:
index: annotated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@

---
"skip_unavailable is returned as part of _remote/info response":
- skip:
version: " - 6.0.99"
reason: "skip_unavailable is only returned from 6.1.0 on"

- do:
cluster.get_settings:
include_defaults: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@

---
"Create index with java style index in 6":
- skip:
version: " - 6.7.99, 7.0.0 -"
reason: java.time patterns are allowed since 6.8
- do:
indices.create:
index: java_for_range
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
---
"Test with date processor":
- skip:
version: " - 6.9.99"
reason: pre-7.0.0 requires the 8 prefix for Java time formats, so would treat the format in this test as a Joda time format
features: "warnings"

- do:
ingest.put_pipeline:
id: "_id"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
---
"Array of objects":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
bulk:
refresh: true
Expand All @@ -28,11 +23,6 @@

---
"Empty _id":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
bulk:
refresh: true
Expand Down Expand Up @@ -107,12 +97,8 @@

---
"empty action":

- skip:
version: " - 6.99.99"
features: headers
reason: types are required in requests before 7.0.0

features: headers
- do:
catch: /Malformed action\/metadata line \[3\], expected FIELD_NAME but found \[END_OBJECT\]/
headers:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
"List of strings":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0
- do:
bulk:
refresh: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
"One big string":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0
- do:
bulk:
refresh: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
"Source filtering":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0
- do:
index:
refresh: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
"refresh=true immediately makes changes are visible in search":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0
- do:
bulk:
refresh: true
Expand All @@ -20,10 +16,6 @@

---
"refresh=empty string immediately makes changes are visible in search":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0
- do:
bulk:
refresh: ""
Expand All @@ -41,10 +33,6 @@

---
"refresh=wait_for waits until changes are visible in search":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0
- do:
bulk:
refresh: wait_for
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@

---
"Deprecated parameters should fail in Bulk query":

- skip:
version: " - 6.99.99"
reason: some parameters are removed starting from 7.0, their equivalents without underscore are used instead
features: "warnings"

- do:
catch: bad_request
bulk:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
---
"Compare And Swap Sequence Numbers":

- skip:
version: " - 6.99.99"
reason: typeless API are add in 7.0.0

- do:
index:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@

---
"cluster health basic test, one index with wait for no initializing shards":
- skip:
version: " - 6.1.99"
reason: "wait_for_no_initializing_shards is introduced in 6.2.0"

- do:
indices.create:
index: test_index
Expand Down
Loading

0 comments on commit 3e9a420

Please sign in to comment.