functional.yaml: configure stresser weights

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee 2018-05-08 16:19:12 -07:00
parent b1832d2f3c
commit cb030e96fa

View File

@ -212,9 +212,25 @@ tester-config:
runner-exec-path: ./bin/etcd-runner
external-exec-path: ""
# make up ±70% of workloads with writes
stressers:
- KV
- LEASE
- type: KV_WRITE_SMALL
weight: 0.35
- type: KV_WRITE_LARGE
weight: 0.002
- type: KV_READ_ONE_KEY
weight: 0.07
- type: KV_READ_RANGE
weight: 0.07
- type: KV_DELETE_ONE_KEY
weight: 0.07
- type: KV_DELETE_RANGE
weight: 0.07
- type: KV_TXN_WRITE_DELETE
weight: 0.35
- type: LEASE
weight: 0.0
# - ELECTION_RUNNER
# - WATCH_RUNNER
# - LOCK_RACER_RUNNER