From 9538208fb75f8b036905f228bd9bd6e6cb26c8f9 Mon Sep 17 00:00:00 2001 From: Simon Cooper Date: Thu, 17 Aug 2023 11:38:31 +0100 Subject: [PATCH] Fix shard-stores doc test (#98581) The replacement wasn't actually doing anything due to different JSON types --- docs/reference/indices/shard-stores.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/indices/shard-stores.asciidoc b/docs/reference/indices/shard-stores.asciidoc index 79394fccd046c..562c146949718 100644 --- a/docs/reference/indices/shard-stores.asciidoc +++ b/docs/reference/indices/shard-stores.asciidoc @@ -192,8 +192,8 @@ The API returns the following response: // TESTRESPONSE[s/"attributes": \{[^}]*\}/"attributes": $body.$_path/] // TESTRESPONSE[s/"roles": \[[^]]*\]/"roles": $body.$_path/] // TESTRESPONSE[s/"8.10.0"/\$node_version/] -// TESTRESPONSE[s/"7000099"/"\d+"/] -// TESTRESPONSE[s/"8100099"/"\d+"/] +// TESTRESPONSE[s/"min_index_version": 7000099/"min_index_version": $body.$_path/] +// TESTRESPONSE[s/"max_index_version": 8100099/"max_index_version": $body.$_path/]