Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvg committed Sep 11, 2023
1 parent 16a7b38 commit 0945059
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ setup:

- do:
indices.stats: { index: test, metric: request_cache}
- match: { _shards.total: 1 }
- gte: { _shards.total: 1 }
- match: { indices.test.total.request_cache.hit_count: 0 }
- match: { indices.test.total.request_cache.miss_count: 1 }

Expand Down Expand Up @@ -174,6 +174,6 @@ setup:
path: num
- do:
indices.stats: { index: test, metric: request_cache}
- match: { _shards.total: 1 }
- gte: { _shards.total: 1 }
- match: { indices.test.total.request_cache.hit_count: 1 }
- match: { indices.test.total.request_cache.miss_count: 1 }
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ setup:
# The first request will miss the cache
- do:
indices.stats: { index: test, metric: request_cache}
- match: { _shards.total: 1 }
- gtw: { _shards.total: 1 }
- match: { indices.test.total.request_cache.hit_count: 0 }
- match: { indices.test.total.request_cache.miss_count: 1 }

Expand Down Expand Up @@ -91,7 +91,7 @@ setup:
# The second result with hit the cache
- do:
indices.stats: { index: test, metric: request_cache}
- match: { _shards.total: 1 }
- gtw: { _shards.total: 1 }
- match: { indices.test.total.request_cache.hit_count: 1 }
- match: { indices.test.total.request_cache.miss_count: 1 }

Expand Down Expand Up @@ -160,7 +160,7 @@ setup:
# The first request will miss the cache
- do:
indices.stats: { index: test, metric: request_cache}
- match: { _shards.total: 1 }
- gte: { _shards.total: 1 }
- match: { indices.test.total.request_cache.hit_count: 1 }
- match: { indices.test.total.request_cache.miss_count: 1 }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ nested:
# The first request will miss the cache
- do:
indices.stats: { index: test, metric: request_cache}
- match: { _shards.total: 1 }
- gte: { _shards.total: 1 }
- match: { indices.test.total.request_cache.hit_count: 0 }
- match: { indices.test.total.request_cache.miss_count: 1 }

Expand Down Expand Up @@ -612,6 +612,6 @@ nested:
# The second result with hit the cache
- do:
indices.stats: { index: test, metric: request_cache}
- match: { _shards.total: 1 }
- gte: { _shards.total: 1 }
- match: { indices.test.total.request_cache.hit_count: 1 }
- match: { indices.test.total.request_cache.miss_count: 1 }

0 comments on commit 0945059

Please sign in to comment.