diff --git a/rest-api-spec/test/indices.optimize/10_basic.yaml b/rest-api-spec/test/indices.optimize/10_basic.yaml new file mode 100644 index 00000000000..e516cb13459 --- /dev/null +++ b/rest-api-spec/test/indices.optimize/10_basic.yaml @@ -0,0 +1,12 @@ +--- +"Optimize index tests": + - do: + indices.create: + index: testing + + - do: + indices.optimize: + index: testing + max_num_segments: 1 + + - is_true: ok