-
Notifications
You must be signed in to change notification settings - Fork 3k
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
tag doesn't work fine #2849
Comments
This is kind of intentional. You are spawning a user with no tasks (after filtering tags) which is usually a mistake, so we should log an error message (although I guess it would be enough to do it once, PRs fixing that would be welcome.) Instead, you can filter by User class, e.g. |
@cyberw , please assign it to me. I would like to work on this. |
The problem (I think) I was referring to is that it gets logged once per user instance. When I think about it though, idk if it is worth fixing. Maybe not. |
Yes! As long as the implementation can be kept simple. |
@vijay59122 That PR does more than I expected. I dont want to change any behaviour apart from the log spam. |
Prerequisites
Description
With this simple locusfile:
Then run locust with a tag specified:
From the UI, the test looks run properly, only
CBotApiUser
is executed. However, the terminal keeps scrolling the error message.Command line
locust --tags cbot
Locustfile contents
Python version
3.9.19
Locust version
locust 2.31.2 from /Users/chaol/venv/3.9/lib/python3.9/site-packages/locust (Python 3.9.19, OpenSSL 3.3.0)
Operating system
MacOS
The text was updated successfully, but these errors were encountered: