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 automatic distributed test shutdown #1710

Merged
merged 3 commits into from
Feb 26, 2021

Conversation

enote-kane
Copy link
Contributor

@enote-kane enote-kane commented Feb 22, 2021

This PR fixes #1707 by not subtracting missing workers from the active workers list (which excludes missing workers already).

Also adds another log message when workers are coming back (including currently active users - which required an event data extension).

The existing test test_runners::test_last_worker_missing_stops_test was also checking for the wrong state (missed to check for "stopping" in addition to "stopped", since the created clients cannot react to a stop event in the test.

@cyberw
Copy link
Collaborator

cyberw commented Feb 26, 2021

LGTM!

@cyberw cyberw merged commit e17032b into locustio:master Feb 26, 2021
@cyberw
Copy link
Collaborator

cyberw commented Feb 26, 2021

thanks!

@enote-kane enote-kane deleted the feature/worker-health branch February 28, 2021 10:18
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.

Distributed test stopped despite workers running
2 participants