This website requires JavaScript.
Explore
Help
Sign In
honeymoose
/
OpenSearch
mirror of
https://github.com/honeymoose/OpenSearch.git
Watch
1
Star
0
Fork
You've already forked OpenSearch
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
31fa4dc58b
OpenSearch
/
rest-api-spec
/
test
/
list_benchmarks
/
10_basic.yaml
10 lines
109 B
YAML
Raw
Normal View
History
Unescape
Escape
[SPEC] Added missing list_benchmarks test
2014-04-22 13:27:11 -04:00
---
"Test benchmark list"
:
Disable benchmark tests until nodes set to run with -Des.node.bench=true
2014-04-22 15:16:35 -04:00
-
skip
:
[TEST] randomly added node.bench=true to client node in test cluster and re-enabled REST benchmark tests based on number of bench nodes available In our REST tests we already have support for features and skip sections that allow to skip tests if a feature is not supported. We can then add a skip section based on the benchmark feature to the benchmark tests and execute them only when they are supported, knowing that they need at least a node with node.bench settings within the cluster. We can check that this requirement is met by calling the nodes info api. This way we can dynamically decide whether to execute those tests or not and we don't need to have a node.bench around all the time. In fact, given that the REST tests use the GLOBAL cluster, we want to be able to randomize settings as much as possible and run tests against default settings as well. Also, this mechanism can be easily supported by the external cluster implementation that is used during the release process. Introduced ability to disable benchmark nodes which is needed by BenchmarkNegativeTest.
2014-05-09 15:58:29 -04:00
features
:
"benchmark"
Disable benchmark tests until nodes set to run with -Des.node.bench=true
2014-04-22 15:16:35 -04:00
[SPEC] Added missing list_benchmarks test
2014-04-22 13:27:11 -04:00
-
do
:
list_benchmarks
:
{}