Browse Source

Fixed regex in cat.recovery REST tes

The time column should accept integer ms or floating point seconds
Clinton Gormley 9 years ago
parent
commit
0543d46c1d

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

@@ -27,7 +27,7 @@
               (
                 index1      \s+
                 \d          \s+                                 # shard
-                \d+ms       \s+                                 # time
+                (?:\d+ms|\d+(?:\.\d+)?s)    \s+                 # time in ms or seconds
                 (store|replica|snapshot|relocating)     \s+     # type
                 (init|index|verify_index|translog|finalize|done) \s+ # stage
                 [-\w./]+    \s+                                 # source_host