Describe the bug
If I add a new table concurrently, I click Stop, and then my on_stop method will be executed. On_stop is deleting the table. At this moment, one user will start executing on_stop and the other user will continue to execute task
Expected behavior
Task is no longer executed when on_stop is expected
Actual behavior
The Task is still executed
Steps to reproduce
- Task is a new table
- On_stop removes the table one by one
Environment
- OS:
- Python version: 3.8
- Locust version: 1.2.3
- Locust command line that you ran: locust -f src/loadTest/11_add_core.py --users=20 --spawn-rate=20
- Locust file contents (anonymized if necessary):
Describe the bug
If I add a new table concurrently, I click Stop, and then my on_stop method will be executed. On_stop is deleting the table. At this moment, one user will start executing on_stop and the other user will continue to execute task
Expected behavior
Task is no longer executed when on_stop is expected
Actual behavior
The Task is still executed
Steps to reproduce
Environment