Skip to content
Merged
Show file tree
Hide file tree
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
@@ -1,7 +1,4 @@
setup:
- skip:
version: " - 6.99.99"
reason: "added in 7.0.0"
- do:
indices.create:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,83 +1,3 @@
---
"Create index with joda style index that is incompatible with java.time. (6.0)":
- skip:
features: "allowed_warnings"
version: "6.8.1 -"
reason: change of warning message
- do:
allowed_warnings:
- "Use of 'Y' (year-of-era) will change to 'y' in the next major version of OpenSearch. Prefix your date format with '8' to use the new specifier."
indices.create:
index: joda_for_range
body:
settings:
index:
number_of_replicas: 2
mappings:
"properties":
"time_frame":
"type": "date_range"
"format": "YYYY-MM-dd'T'HH:mmZZ"

- do:
bulk:
refresh: true
body:
- '{"index": {"_index": "joda_for_range"}}'
- '{"time_frame": {"gte": "2019-01-01T00:00+01:00", "lte" : "2019-03-01T00:00+01:00"}}'

- do:
search:
rest_total_hits_as_int: true
index: joda_for_range
body:
query:
range:
time_frame:
gte: "2019-02-01T00:00+01:00"
lte: "2019-02-01T00:00+01:00"
- match: { hits.total: 1 }

---
"Create index with joda style index that is incompatible with java.time (>6.1)":
- skip:
features: "allowed_warnings"
version: " - 6.8.0, 7.0.0 -"
reason: change of warning message, we skip 7 becase this format will be considered java
- do:
allowed_warnings:
- "'Y' year-of-era should be replaced with 'y'. Use 'Y' for week-based-year.; 'Z' time zone offset/id fails when parsing 'Z' for Zulu timezone. Consider using 'X'. Prefix your date format with '8' to use the new specifier."
indices.create:
index: joda_for_range
body:
settings:
index:
number_of_replicas: 2
mappings:
"properties":
"time_frame":
"type": "date_range"
"format": "YYYY-MM-dd'T'HH:mmZZ"

- do:
bulk:
refresh: true
body:
- '{"index": {"_index": "joda_for_range"}}'
- '{"time_frame": {"gte": "2019-01-01T00:00+01:00", "lte" : "2019-03-01T00:00+01:00"}}'

- do:
search:
rest_total_hits_as_int: true
index: joda_for_range
body:
query:
range:
time_frame:
gte: "2019-02-01T00:00+01:00"
lte: "2019-02-01T00:00+01:00"
- match: { hits.total: 1 }

---
"Create index with java style index in 6":
- do:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@

---
"Test cat thread_pool output":
- skip:
version: " - 6.99.99"
reason: this API was changed in a backwards-incompatible fashion in 7.0.0 so we need to skip in a mixed cluster

- do:
cat.thread_pool: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@

---
"get cluster state returns cluster_uuid at the top level":
- skip:
version: " - 6.3.99"
reason: "cluster state including cluster_uuid at the top level is new in v6.4.0 and higher"

- do:
cluster.state:
human: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ setup:
---
"Filtering the cluster state returns cluster_uuid at the top level regardless of metric filters":
- skip:
version: " - 6.3.99"
reason: "cluster state including cluster_uuid at the top level is new in v6.4.0 and higher"
features: allowed_warnings

# Get the current cluster_uuid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ teardown:

---
"Get cluster state without voting config exclusions":
- skip:
version: " - 6.99.99"
reason: Voting config exclusions were introduced in 7.0.0

- do:
cluster.state: {}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
"Create with ID":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
create:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
"Create without ID":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
catch: param
create:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
"External version":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
catch: bad_request
create:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
"Routing":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
indices.create:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
"Refresh":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
indices.create:
index: test_1
Expand Down Expand Up @@ -44,9 +42,7 @@

---
"When refresh url parameter is an empty string that means \"refresh immediately\"":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
create:
index: test_1
Expand All @@ -66,9 +62,7 @@

---
"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:
index:
index: create_60_refresh_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"Basic":

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

- do:
index:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"Delete check shard header":

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

- do:
indices.create:
index: foobar
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"Delete result field":

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

- do:
index:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"Internal version":

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

- do:
index:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"External version":

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

- do:
index:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"External GTE version":

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

- do:
index:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"Routing":

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

- do:
indices.create:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"Refresh":

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

- do:
indices.create:
index: test_1
Expand Down Expand Up @@ -81,10 +77,6 @@
---
"When refresh url parameter is an empty string that means \"refresh immediately\"":

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

- do:
index:
index: test_1
Expand Down Expand Up @@ -118,10 +110,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:
index:
index: delete_50_refresh_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"Missing document with catch":

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

- do:
catch: missing
delete:
Expand All @@ -14,10 +10,6 @@
---
"Missing document with ignore":

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

- do:
delete:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
"Routing":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
indices.create:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
"Realtime Refresh":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
indices.create:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"Routing":

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

- do:
indices.create:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"REST test with headers":
- skip:
features: ["headers", "yaml"]
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
index:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"Realtime Refresh":

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

- do:
indices.create:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"Versions":

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

- do:
index:
index: test_1
Expand Down
Loading
Loading