-
Notifications
You must be signed in to change notification settings - Fork 14
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
changed min_wait/max_wait into between(min_wait,max_wait) #67
base: master
Are you sure you want to change the base?
Conversation
🤖 zincr found 2 problems , 0 warnings
Details on how to resolve are provided below ApprovalsAll proposed changes must be reviewed by project maintainers before they can be merged Not enough people have approved this pull request - please ensure that 2 additional users, who have not contributed to this pull request approve the changes.
SpecificationAll pull requests must follow certain rules for content length and form Please ensure the follow issues are resolved:
|
Hi @edwindj, thanks for your contribution! If I'm not mistaken this change was introduced in locustio/locust#1118 and released in Locust 0.13.0. I noticed that the old There's only one thing that I feel is overlooked - according to the PR the new Given that Transformer puts hard-coded values 0 and 1 (making Locust wait between 0 and 10 ms) and doesn't really allow users to change that, I think it might be a good idea to eventually either get rid of this or make into a plugin. @thilp @edwindj @bmaher what do you think? |
@tortila you're welcome and thanks for your detailed feedback!
Best, Edwin |
Here is an overview of what got changed by this pull request: Issues
======
- Added 1
See the complete overview on Codacy |
In general I'm also enthusiastic towards the idea of extracting features from Transformer's core to plugins. @edwindj I thank you as well for your contribution. To unblock the CI and the automated quality review, as well as facilitate the creation of a new release, could you please adapt the formatting ( |
changed min_wait/max_wait into between(min_wait,max_wait)
Description
The min_wait/max_wait don't work with the current locust.io, so I changed them into
between()
, sothat
transformer
generates a "locustfile.py" that can be used directly without manual editing.Types of Changes