|
@@ -6,7 +6,7 @@ function run_tests() {
|
|
|
local clusterSize=3
|
|
local clusterSize=3
|
|
|
local version=$1
|
|
local version=$1
|
|
|
|
|
|
|
|
- ccm create test -v binary:$version -n 3 -d --vnodes
|
|
|
|
|
|
|
+ ccm create test -v binary:$version -n $clusterSize -d --vnodes
|
|
|
ccm updateconf 'concurrent_reads: 8' 'concurrent_writes: 32' 'rpc_server_type: sync' 'rpc_min_threads: 2' 'rpc_max_threads: 8' 'write_request_timeout_in_ms: 5000' 'read_request_timeout_in_ms: 5000'
|
|
ccm updateconf 'concurrent_reads: 8' 'concurrent_writes: 32' 'rpc_server_type: sync' 'rpc_min_threads: 2' 'rpc_max_threads: 8' 'write_request_timeout_in_ms: 5000' 'read_request_timeout_in_ms: 5000'
|
|
|
ccm start
|
|
ccm start
|
|
|
ccm status
|
|
ccm status
|
|
@@ -16,7 +16,7 @@ function run_tests() {
|
|
|
proto=1
|
|
proto=1
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
- go test -v -proto=$proto -rf=3 -cluster=$(ccm liveset) -clusterSize=$clusterSize ./...
|
|
|
|
|
|
|
+ go test -v -proto=$proto -rf=3 -cluster=$(ccm liveset) -clusterSize=$clusterSize -autowait=5000 ./...
|
|
|
|
|
|
|
|
ccm clear
|
|
ccm clear
|
|
|
}
|
|
}
|