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

find locustfile in the root directory #609

Merged
merged 2 commits into from
Sep 18, 2017
Merged

Conversation

arthurdarcet
Copy link
Contributor

if the locustfile.py file is located in the filesystem root, and the locust command is launched from the fs root too, then the file is not found.

(to work around this issue, -f /locustfile has to be explicitly passed to the locust command)

having the locustfile in the fs root is a common use case when running in docker

arthurdarcet and others added 2 commits June 21, 2017 14:36
Code comment and slightly more descriptive variable name
@heyman
Copy link
Member

heyman commented Sep 18, 2017

Looks good! Thanks!

@heyman heyman merged commit 7999b6a into locustio:master Sep 18, 2017
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

Successfully merging this pull request may close these issues.

2 participants