forked from apache/cassandra-java-driver
-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathduration-test.yaml
99 lines (96 loc) · 3.21 KB
/
duration-test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# Possible values: cassandra or dse
server_type: cassandra
# Server version (e.g. 3.11.7 or 6.8.8)
server_version: 3.11.7
# The driver Git revision to checkout and build (can be a branch name, a tag name or a commit SHA)
driver_rev: 4.x
# A distinctive driver label to use, for reporting purposes (will appear in Graphite metric names)
driver_label: 4.10.0
# The IP of a running Graphite server, see graphite-setup.yaml
graphite_host: 1.2.3.4
# How long to run the duration test, default: 2 days
duration: 2d
# Cloud-specific settings
cloud_provider: nebula
cloud_tenant: drivers-automation
instance_type: m4.4xlarge
---
ensemble:
server:
node.count: 3
provisioner:
name: ctool
properties:
mark_for_reuse: false
cloud.provider: {{cloud_provider}}
cloud.tenant: {{cloud_tenant}}
cloud.instance.type: {{instance_type}}
configuration_manager:
- name: ctool
properties:
java.version: openjdk8
product.install.type: tarball
product.type: {{server_type}}
product.version: {{server_version}}
cassandra.yaml:
hinted_handoff_enabled: false
datacenters:
datacenter1:
size: 3
workload: cassandra
client:
node.count: 1
provisioner:
name: ctool
properties:
mark_for_reuse: false
cloud.provider: {{cloud_provider}}
cloud.tenant: {{cloud_tenant}}
cloud.instance.type: {{instance_type}}
configuration_manager:
- name: ctool
properties:
java.version: openjdk8
install.maven: true
- name: java_driver
properties:
oss.git.repository: [email protected]:datastax/java-driver.git
oss.git.branch: {{driver_rev}}
type: FOUR_X_OSS
- name: java_driver_duration_test
properties:
git.branch: java-driver-4.x
workload:
phases:
- run-duration-test:
module: java_driver_duration_test
properties:
is.four: true
duration: {{duration}}
graphite.host: {{graphite_host}}
graphite.prefix: duration-test-java-driver-{{driver_label}}-{{server_type}}-{{server_version}}
kill-nodes:
module: killnode_rhino
properties:
target.strategy: whitelist
target.number_of_nodes: 1
target.selector: "*:*"
repeat.delay: 120
repeat.iterations: 0
graceful: true