Browse Source

Tests: Improve size regex in documentation test (#26879)

The regex has been changed to not only be able to deal with something
like `260b`, but also support `1.1kb`.
Alexander Reelsen 8 years ago
parent
commit
08037eebff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/getting-started.asciidoc

+ 1 - 1
docs/reference/getting-started.asciidoc

@@ -368,7 +368,7 @@ And the response:
 health status index    uuid                   pri rep docs.count docs.deleted store.size pri.store.size
 yellow open   customer 95SQ4TSUT7mWBT7VNHH67A   5   1          0            0       260b           260b
 --------------------------------------------------
-// TESTRESPONSE[s/95SQ4TSUT7mWBT7VNHH67A/.+/ s/260b/\\d+b/ _cat]
+// TESTRESPONSE[s/95SQ4TSUT7mWBT7VNHH67A/.+/ s/260b/\\d+\\.?\\d?k?b/ _cat]
 
 The results of the second command tells us that we now have 1 index named customer and it has 5 primary shards and 1 replica (the defaults) and it contains 0 documents in it.