-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for assertions #1157
Add support for assertions #1157
Conversation
With this commit we add a new `assertions` property for operations. When this property is present, Rally checks all assertions and raises an error if the check fails.
With this commit we disable assertions by default but allow to enable them via a command line flag.
This has been caused by a transient failure:
@elasticmachine test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few clarifications if possible but more for my understanding re typing and meta fields
|
||
* ``raw-request`` | ||
* ``sleep`` | ||
* ``search`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding search to composite 👍
With this commit we add a new `meta data` section to each operation in the track reference documentation which documents which meta data are returned. This information can be used to add assertions for custom tracks. We also enhance a couple of existing runners so that they return a `dict` structure instead of a tuple because only `dicts` are supported for assertions. Relates elastic#1157
With this commit we add a new `meta data` section to each operation in the track reference documentation which documents which meta data are returned. This information can be used to add assertions for custom tracks. We also enhance a couple of existing runners so that they return a `dict` structure instead of a tuple because only `dicts` are supported for assertions. Relates #1157
With this commit we add a new
assertions
property for operations. Whenthis property is present and assertions are enabled with
--enable-assertions
,Rally checks all assertions and raises an error if the check fails.