OpenSearch/rest-api-spec/test/benchmark/10_basic.yaml

34 lines
692 B
YAML

---
"Test benchmark submit":
- skip:
features: "benchmark"
- do:
indices.create:
index: test_1
body:
settings:
index:
number_of_replicas: 0
- do:
cluster.health:
wait_for_status: yellow
- do:
benchmark:
index: test_1
body:
"name": "my_benchmark"
"competitors":
-
"name": "my_competitor"
"requests":
-
"query":
"match": { "_all": "*" }
- match: { status: COMPLETE }