Docs test: defend against round numbers
If a shard has a nice, round number the test in the `_cat/shards` reference file would fail. They should be ok with it. A failure: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+5.3+multijob-unix-compatibility/os=fedora/93/console
This commit is contained in:
parent
c48b60dcf1
commit
0b20a59391
|
@ -21,7 +21,7 @@ This will return
|
|||
twitter 0 p STARTED 3014 31.1mb 192.168.56.10 H5dfFeA
|
||||
---------------------------------------------------------------------------
|
||||
// TESTRESPONSE[s/3014/\\d+/]
|
||||
// TESTRESPONSE[s/31.1/\\d+\.\\d+/]
|
||||
// TESTRESPONSE[s/31.1/\\d+(\.\\d+)?/]
|
||||
// TESTRESPONSE[s/mb/.*/]
|
||||
// TESTRESPONSE[s/192.168.56.10/.*/]
|
||||
// TESTRESPONSE[s/H5dfFeA/node-0/ _cat]
|
||||
|
|
Loading…
Reference in New Issue