Skip to content

Commit 0543d46

Browse files
Fixed regex in cat.recovery REST tes
The time column should accept integer ms or floating point seconds
1 parent 055234c commit 0543d46

File tree

1 file changed

+1
-1
lines changed
  • rest-api-spec/src/main/resources/rest-api-spec/test/cat.recovery

1 file changed

+1
-1
lines changed

rest-api-spec/src/main/resources/rest-api-spec/test/cat.recovery/10_basic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
(
2828
index1 \s+
2929
\d \s+ # shard
30-
\d+ms \s+ # time
30+
(?:\d+ms|\d+(?:\.\d+)?s) \s+ # time in ms or seconds
3131
(store|replica|snapshot|relocating) \s+ # type
3232
(init|index|verify_index|translog|finalize|done) \s+ # stage
3333
[-\w./]+ \s+ # source_host

0 commit comments

Comments
 (0)