mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
Fix _cat/store
sort test to use a reliable sort value
using the store size is not reliable since it's cached and might be stale depending on the timing when the cache entry was generated.
This commit is contained in:
parent
bce34e4f1e
commit
36c86c2b00
@ -256,11 +256,11 @@
|
||||
|
||||
- do:
|
||||
cat.shards:
|
||||
h: [index, store]
|
||||
s: [store]
|
||||
h: [index, docs]
|
||||
s: [docs]
|
||||
|
||||
- match:
|
||||
- match: # don't use the store here it's cached and might be stale
|
||||
$body: |
|
||||
/^ foo \s+ (\d+|\d+[.]\d+)(kb|b)\n
|
||||
bar \s+ (\d+|\d+[.]\d+)(kb|b)\n
|
||||
/^ foo \s+ 0\n
|
||||
bar \s+ 1\n
|
||||
$/
|
||||
|
Loading…
x
Reference in New Issue
Block a user