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

add assertions for wait_for_state / wait_for_status methods #264

Open
snowch opened this issue Sep 4, 2020 · 0 comments
Open

add assertions for wait_for_state / wait_for_status methods #264

snowch opened this issue Sep 4, 2020 · 0 comments

Comments

@snowch
Copy link
Member

snowch commented Sep 4, 2020

this is not valid:

hpecp epic_worker wait-for-state --state [ready] 

however, no errors are thrown even though --state (singular) is not a valid parameter.

We should allow the user to provide:

  • --state onestate
  • --states [onestate, anotherstate]

the user should provide either --state or --states. --states may be empty, i.e. []

similar for --status

This applies to all cli modules implementing wait_for_state / wait_for_status

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