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
Locust returns zero exit code when an unexpected exception occurs in the task set.
The exit code is 1.
The exit code is 0.
class ExampleTaskSet(TaskSet): @task() def task1(self): raise Exception('Test exception')
The text was updated successfully, but these errors were encountered:
Yes, that is super annoying. I will look into a fix.
Sorry, something went wrong.
locustio/locust@4aaedfc
@cyberw Could you link a related PR or provide some information when it will be released please? Thank you very much!
I didnt make a PR, because it was only one line. It will be in the next release, whenever that happens. Or you can just clone from github if you dont want to wait :)
No branches or pull requests
Description
Locust returns zero exit code when an unexpected exception occurs in the task set.
Expected behavior
The exit code is 1.
Actual behavior
The exit code is 0.
Steps to reproduce
Environment settings
The text was updated successfully, but these errors were encountered: