2014-04-22 13:14:26 -04:00
|
|
|
---
|
|
|
|
"Test benchmark submit":
|
|
|
|
|
2014-04-22 15:16:35 -04:00
|
|
|
- skip:
|
|
|
|
version: "0 - 9999"
|
|
|
|
reason: Disabled until nodes run with node.bench set to true
|
|
|
|
|
2014-04-22 13:14:26 -04:00
|
|
|
- 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 }
|
|
|
|
|