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

improve log-level and exit-code when rexfile is in use #27

Open
scorpevans opened this issue Nov 3, 2020 · 0 comments
Open

improve log-level and exit-code when rexfile is in use #27

scorpevans opened this issue Nov 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@scorpevans
Copy link

scorpevans commented Nov 3, 2020

Reference: https://github.com/adjust/Rex/blob/master/lib/Rex/CLI.pm#L638

When trex is invoked in parallel without the -F flag, it silently logs an INFO (Rexfile is in use) and exits with zero.
This behaviour is dangerous for client which use the error code to determine if everything went well; this is not so in such a case when one entire processing thread has been skipped.

I propose a WARNING along with a non-zero exit code.

@scorpevans scorpevans added the enhancement New feature or request label Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant