Skip to content
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

idle_for type error when used within method #9

Open
venkivijay opened this issue Oct 18, 2022 · 0 comments
Open

idle_for type error when used within method #9

venkivijay opened this issue Oct 18, 2022 · 0 comments

Comments

@venkivijay
Copy link

As per the documentation, when using idle_for utils, the type can be empty. But chaostoolkit expects the type to be either action or probe when used within method. Is this idle_for function not meant to be used within method?

Code (method in an experiment):

method:
  - type: ""
    name: idle-for
    provider:
      type: python
      module: chaosaddons.utils.idle
      func: idle_for
      arguments:
        duration: 300

Error:

[2022-10-18 12:40:41 INFO] Validating the experiment's syntax
[2022-10-18 12:40:41 ERROR] an activity must have a type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant