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
class ExampleTaskSet(TaskSet):
@task()
def task1(self):
raise Exception('Test exception')
Environment settings
- OS: Ubuntu 16.04
- Python version: CPython 3.6.3
- Locust version: 0.13.2
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