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

35 lines
765 B
YAML

---
"Test benchmark submit":
- skip:
version: "0 - 9999"
reason: Disabled until nodes run with node.bench set to true
- 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 }