chaostoolkit / chaostoolkit-documentation

The Chaos Toolkit documentation
https://chaostoolkit.org
Apache License 2.0
19 stars 32 forks source link

fix the issues in advanced scenario examples #104

Closed saravanan30erd closed 3 years ago

saravanan30erd commented 3 years ago

I have tried to create my own tolerance probe using python function, faced some issues due to syntax errors in example. Refer: https://docs.chaostoolkit.org/reference/tutorials/tolerance/#advanced-scenarios

Issue 1:

INFO] Validating the experiment's syntax
[2021-03-28 19:19:34 ERROR] an activity must have a name

Custom tolerance requires name field.

Issue 2:

ERROR] required argument 'value' is missing from activity

In custom tolerance function, value argument should be optional otherwise it fails during experiment validation state.