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