Skip to content

Commit

Permalink
Clarify when TaskSet.on_start() is run.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Feb 26, 2020
1 parent 834db1b commit ed3b263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/writing-a-locustfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,9 @@ Since many setup and cleanup operations are dependent on each other, here is the

1. Locust setup (once)
2. TaskSet setup (once)
3. TaskSet on_start (once per locust)
3. TaskSet on_start (every time a user starts executing a new TaskSet)
4. TaskSet tasks...
5. TaskSet on_stop (once per locust)
5. TaskSet on_stop (every time a user stops executing a TaskSet, either to run a different one or at shutdown)
6. TaskSet teardown (once)
7. Locust teardown (once)

Expand Down

0 comments on commit ed3b263

Please sign in to comment.