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

Fix stopping and restarting of LoadTestShape test #1541

Merged
merged 1 commit into from Aug 24, 2020
Merged

Fix stopping and restarting of LoadTestShape test #1541

merged 1 commit into from Aug 24, 2020

Conversation

max-rocket-internet
Copy link
Contributor

Resolves #1540

Reset state when stopping a LoadTestShape test and also add a test for this.

@codecov
Copy link

codecov bot commented Aug 24, 2020

Codecov Report

Merging #1541 into master will decrease coverage by 0.25%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1541      +/-   ##
==========================================
- Coverage   82.80%   82.54%   -0.26%     
==========================================
  Files          28       28              
  Lines        2564     2566       +2     
  Branches      390      391       +1     
==========================================
- Hits         2123     2118       -5     
- Misses        345      350       +5     
- Partials       96       98       +2     
Impacted Files Coverage Δ
locust/runners.py 83.87% <100.00%> (-0.90%) ⬇️
locust/user/task.py 97.29% <0.00%> (-0.55%) ⬇️
locust/stats.py 90.68% <0.00%> (-0.21%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b9738c...bdea544. Read the comment docs.

@cyberw cyberw merged commit b12aa3d into locustio:master Aug 24, 2020
@cyberw
Copy link
Collaborator

cyberw commented Aug 24, 2020

👍

@max-rocket-internet max-rocket-internet deleted the fix_shape_restart branch August 26, 2020 13:15
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.

Locust stuck in "Shape worker starting" when restarting a test from the webUI
2 participants