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

Graceful failure when --hosts=(nothing) is provided #69

Open
emayssat-ms opened this issue Feb 25, 2016 · 1 comment
Open

Graceful failure when --hosts=(nothing) is provided #69

emayssat-ms opened this issue Feb 25, 2016 · 1 comment
Labels
bug This issue/PR relates to a bug.

Comments

@emayssat-ms
Copy link

AWS_PROFILE=7009 REGION=us-west-2 testinfra --capture=fd --connection=paramiko --sudo --hosts= -m "common or safeview or master" --maxfail 999 --tb=long --configuration-file configs/700995487849/Release/001e/config.yml --deployment-id default test_suite/

A command like the one above generates a lot of output when the problem is only due to the --host parameter is not set correctly. A simple validation check on the input parameter could make the troubleshooting easier and more user friendly.

Therefore I recommend you display a simple error instead of running every test and reporting their failure.

@emayssat-ms emayssat-ms changed the title Graceful failure when --hosts=(nothing) is provide Graceful failure when --hosts=(nothing) is provided Feb 25, 2016
@philpep philpep added the bug This issue/PR relates to a bug. label Mar 18, 2016
@philpep
Copy link
Contributor

philpep commented Mar 18, 2016

I agree, this must be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants