rally/samples/tasks/scenarios/manila/list-shares.yaml
Valeriy Ponomaryov ff7b05094a Add possibility to balance usage of users
For the moment all users for tasks are taken randomly and
there is no way to balance them between tasks.
It may be very useful when we have
difference between first usage of tenant/user and all consecutive.
In this case we get different load results.

Therefore, add enum config option 'user_choice_method'
to 'users' context that defines approach for picking up users.
Two values are available:
- random
- round_robin

Default one is compatible with old approach - "random".

Also, update one of scenarios to use "round_robin" approach to make
sure it works.

Change-Id: I26fb090eb89c22f5d50529cb73b6ed54fc3d7e15
2016-05-13 20:58:44 +03:00

15 lines
278 B
YAML

---
ManilaShares.list_shares:
-
args:
detailed: True
runner:
type: "constant"
times: 12
concurrency: 1
context:
users:
tenants: 3
users_per_tenant: 4
user_choice_method: "round_robin"