From 12597309c6b04db740f0d0755d70f4da64332bc1 Mon Sep 17 00:00:00 2001 From: Honza Kral Date: Wed, 24 Jul 2013 03:57:58 +0200 Subject: [PATCH] Optimize tests --- rest-api-spec/test/indices.optimize/10_basic.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 rest-api-spec/test/indices.optimize/10_basic.yaml 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