Skip to content

Commit bb9892a

Browse files
authored
Fix cat allocation YAML test (#126003) (#126027)
This test failed when the `disk.indices.forecast` value was a decimal number. We adjust the regex to allow decimal values and for consistency we also allow negative values. Fixes #125711 Fixes #125848 Fixes #125661 (cherry picked from commit 8028d5a) # Conflicts: # muted-tests.yml
1 parent a54add9 commit bb9892a

File tree

1 file changed

+1
-1
lines changed
  • rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/cat.allocation

1 file changed

+1
-1
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/cat.allocation/10_basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
( [-\w.]+ \s+
296296
[-\w.]+ \s+
297297
[-\w.]+ \s+
298-
[\w]+
298+
[-\w.]+
299299
\n
300300
)+
301301
$/

0 commit comments

Comments
 (0)