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

Move CSV stats printer gevent spawn up a few lines #2085

Merged
merged 1 commit into from
May 2, 2022
Merged

Move CSV stats printer gevent spawn up a few lines #2085

merged 1 commit into from
May 2, 2022

Conversation

max-rocket-internet
Copy link
Contributor

Resolves #2075

The problem is that if --headless is used with LoadTestShape then the stats_csv_writer greenlet is never spawned. By moving the gevent.spawn(stats_csv_writer.stats_writer) part up a few lines I think it solves the problem? Let's wait for the tests 🙏

@max-rocket-internet
Copy link
Contributor Author

All checks have passed

Alllriiight 🎉

@cyberw cyberw merged commit 7e9249f into locustio:master May 2, 2022
@cyberw
Copy link
Collaborator

cyberw commented May 2, 2022

Nice

@max-rocket-internet max-rocket-internet deleted the shape_no_stats branch May 2, 2022 19:00
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.

Output is not saved to CSV when using LoadTestShape
2 participants