Skip to content

Commit 973e756

Browse files
committed
[Test] Fix reference/cat/allocation/line_8 test failure
In this test, 260b is replaced by the regexp \d+b but the test sometimes produces results like 1.1kb so this commit adapts the regexp to match values with decimals closes #26685
1 parent 3084981 commit 973e756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/cat/allocation.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Might respond with:
1818
shards disk.indices disk.used disk.avail disk.total disk.percent host ip node
1919
5 260b 47.3gb 43.4gb 100.7gb 46 127.0.0.1 127.0.0.1 CSUXak2
2020
--------------------------------------------------
21-
// TESTRESPONSE[s/260b/\\d+b/ s/\d+(\.\d+)?[tgmk]?b/\\d+(\\.\\d+)?[tgmk]?b/ s/46/\\d+/]
21+
// TESTRESPONSE[s/\d+(\.\d+)?[tgmk]?b/\\d+(\\.\\d+)?[tgmk]?b/ s/46/\\d+/]
2222
// TESTRESPONSE[s/CSUXak2/.+/ _cat]
2323

2424
Here we can see that each node has been allocated a single shard and

0 commit comments

Comments
 (0)