Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- # view perfrunner
- # tpcc
- # xdcr
- # kv
- # rebalance/failover
- view: # perfrunner view test uses sasl
- - test:
- container: perfrunner
- command: '-c clusters/systest.spec
- -t tests/query_dev_20M_group_by.test
- --local'
- tpcc:
- - test:
- container: tpcc
- command: "./run.sh servers:address:0:2:8093 util/cbcrindex.sql"
- wait: false
- - test:
- container: tpcc
- command: "python tpcc.py --warehouses 1 --no-execute n1ql
- --query-url servers:address:0:2:8093
- --userid Administrator --password password"
- wait: false
- phase1:
- - test: # continous doc loading to WAREHOUSE with gideon
- container: gideon
- command: "kv --ops 20000 --create 30 --get 70
- --hosts servers:address:0:0 --bucket WAREHOUSE"
- - test: # 1 Million Documents to default bucket with pillowfight
- container: pillowfight
- command: "-U servers:address:0:0 -I 1000000 -t 4 -B 250 -c 1000"
- wait: true
- phase2: # load 3M items. on small cluster = ~85% dgm
- - test:
- container: pillowfight
- command: "-U servers:address:0:0 -p aaa -m 1024 -I 1000000 -t 1 -B 100"
- - test:
- container: pillowfight
- command: "-U servers:address:0:0 -p bbb -m 1024 -I 1000000 -t 1 -B 100 -c 10000"
- wait: true
- xdcr: # xdcr 2 buckets -> 1
- - test:
- container: couchbase-cli
- command: 'xdcr-setup -c servers:address:0:0 --create
- --xdcr-cluster-name servers:clustername:0
- --xdcr-hostname servers:address:1:0
- --xdcr-username servers:rest_username:1
- --xdcr-password servers:rest_password:1'
- wait: true
- - test:
- container: couchbase-cli
- command: 'xdcr-replicate -c servers:address:0:0
- --xdcr-cluster-name servers:clustername:0
- --xdcr-from-bucket default
- --xdcr-to-bucket default'
- wait: true
- - test:
- container: couchbase-cli
- command: 'xdcr-replicate -c servers:address:0:0
- --xdcr-cluster-name servers:clustername:0
- --xdcr-from-bucket WAREHOUSE
- --xdcr-to-bucket default'
- wait: true
- phase3: #failover a data node
- - test:
- container: couchbase-cli
- command: "failover -c servers:address:0:0
- --server-failover servers:address:0:1
- -u servers:rest_username:0 -p servers:rest_password:0"
- wait: true
- - test:
- container: couchbase-cli
- command: "rebalance -c servers:address:0:0
- -u servers:rest_username:0 -p servers:rest_password:0"
- wait: true
- phase4: # increase bucket-2 ops and put default bucket into higher dgm
- - test: # higher doc loading to bucket-2
- container: gideon
- command: "kv --ops 20000 --create 30 --get 70
- --hosts servers:address:0:0 --bucket buckets:bucketname:1:1"
- scale: 10
- - test: # heavier dgm for default bucket
- container: pillowfight
- command: "-U servers:address:0:0 -p ccc -m 1024 -I 1000000 -t 1 -B 100 -c 10000"
- - test:
- container: pillowfight
- command: "-U servers:address:0:0 -p ddd -m 1024 -I 1000000 -t 1 -B 100 -c 10000"
- wait: true
- phase6: # force failover and loose all data
- - test:
- container: couchbase-cli
- command: "failover -c servers:address:0:0
- --server-failover servers:address:0:2
- -u servers:rest_username:0 -p servers:rest_password:0
- --force"
- wait: true
- - test:
- container: couchbase-cli
- command: "rebalance -c servers:address:0:0
- -u servers:rest_username:0 -p servers:rest_password:0"
- wait: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement