Skip to content

Commit

Permalink
Add version skip to rest tests
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <[email protected]>
  • Loading branch information
finnegancarroll committed Aug 13, 2024
1 parent ed85b01 commit a2f5004
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,24 @@ setup:
---
"Date histogram aggregation w/ filter query test":
- skip:
version: " - 2.16.99"
version: " - 2.16.99"
reason: Fixed in 2.17 - backport to 2.16

- do:
bulk:
refresh: true
index: dhisto-agg-w-query
body:
- '{"index": {}}'
- '{"routing": "route1", "date": "2024-08-12"}'
- '{"routing": "route1", "date": "2024-08-12", "dow": "monday"}'
- '{"index": {}}'
- '{"routing": "route1", "date": "2024-08-14"}'
- '{"routing": "route1", "date": "2024-08-14", "dow": "wednesday"}'
- '{"index": {}}'
- '{"routing": "route1", "date": "2024-08-19"}'
- '{"routing": "route1", "date": "2024-08-19", "dow": "monday"}'
- '{"index": {}}'
- '{"routing": "route2", "date": "2024-08-13"}'
- '{"routing": "route2", "date": "2024-08-13", "dow": "tuesday"}'
- '{"index": {}}'
- '{"routing": "route2", "date": "2024-08-15"}'
- '{"routing": "route2", "date": "2024-08-15", "dow": "thursday"}'

- do:
search:
Expand All @@ -103,14 +104,11 @@ setup:
_source: false

- match: { hits.total.value: 3 }
- match: { aggregations.weekHisto.buckets.0.doc_count: 1 }
- match: { aggregations.weekHisto.buckets.0.doc_count: 2 }
- match: { aggregations.weekHisto.buckets.1.doc_count: 1 }

---
"Date histogram aggregation w/ shared field range test":
- skip:
version: " - 2.16.99"

- do:
bulk:
refresh: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,8 @@ setup:
---
"Filter query w/ aggregation test":
- skip:
version: " - 2.16.99"
version: " - 2.16.99"
reason: Fixed in 2.17 - backport to 2.16
- do:
bulk:
refresh: true
Expand Down

0 comments on commit a2f5004

Please sign in to comment.