--- "Optimize index tests": - do: indices.create: index: testing - do: indices.optimize: index: testing max_num_segments: 1