khenaidoo | ffe076b | 2019-01-15 16:08:08 -0500 | [diff] [blame^] | 1 | agent-configs: |
| 2 | - etcd-exec-path: ./bin/etcd |
| 3 | agent-addr: 127.0.0.1:19027 |
| 4 | failpoint-http-addr: http://127.0.0.1:7381 |
| 5 | base-dir: /tmp/etcd-functional-1 |
| 6 | etcd-log-path: /tmp/etcd-functional-1/etcd.log |
| 7 | etcd-client-proxy: false |
| 8 | etcd-peer-proxy: true |
| 9 | etcd-client-endpoint: 127.0.0.1:1379 |
| 10 | etcd: |
| 11 | name: s1 |
| 12 | data-dir: /tmp/etcd-functional-1/etcd.data |
| 13 | wal-dir: /tmp/etcd-functional-1/etcd.data/member/wal |
| 14 | heartbeat-interval: 100 |
| 15 | election-timeout: 1000 |
| 16 | listen-client-urls: ["https://127.0.0.1:1379"] |
| 17 | advertise-client-urls: ["https://127.0.0.1:1379"] |
| 18 | auto-tls: true |
| 19 | client-cert-auth: false |
| 20 | cert-file: "" |
| 21 | key-file: "" |
| 22 | trusted-ca-file: "" |
| 23 | listen-peer-urls: ["https://127.0.0.1:1380"] |
| 24 | initial-advertise-peer-urls: ["https://127.0.0.1:1381"] |
| 25 | peer-auto-tls: true |
| 26 | peer-client-cert-auth: false |
| 27 | peer-cert-file: "" |
| 28 | peer-key-file: "" |
| 29 | peer-trusted-ca-file: "" |
| 30 | initial-cluster: s1=https://127.0.0.1:1381,s2=https://127.0.0.1:2381,s3=https://127.0.0.1:3381 |
| 31 | initial-cluster-state: new |
| 32 | initial-cluster-token: tkn |
| 33 | snapshot-count: 10000 |
| 34 | quota-backend-bytes: 10740000000 # 10 GiB |
| 35 | pre-vote: true |
| 36 | initial-corrupt-check: true |
| 37 | client-cert-data: "" |
| 38 | client-cert-path: "" |
| 39 | client-key-data: "" |
| 40 | client-key-path: "" |
| 41 | client-trusted-ca-data: "" |
| 42 | client-trusted-ca-path: "" |
| 43 | peer-cert-data: "" |
| 44 | peer-cert-path: "" |
| 45 | peer-key-data: "" |
| 46 | peer-key-path: "" |
| 47 | peer-trusted-ca-data: "" |
| 48 | peer-trusted-ca-path: "" |
| 49 | snapshot-path: /tmp/etcd-functional-1.snapshot.db |
| 50 | |
| 51 | - etcd-exec-path: ./bin/etcd |
| 52 | agent-addr: 127.0.0.1:29027 |
| 53 | failpoint-http-addr: http://127.0.0.1:7382 |
| 54 | base-dir: /tmp/etcd-functional-2 |
| 55 | etcd-log-path: /tmp/etcd-functional-2/etcd.log |
| 56 | etcd-client-proxy: false |
| 57 | etcd-peer-proxy: true |
| 58 | etcd-client-endpoint: 127.0.0.1:2379 |
| 59 | etcd: |
| 60 | name: s2 |
| 61 | data-dir: /tmp/etcd-functional-2/etcd.data |
| 62 | wal-dir: /tmp/etcd-functional-2/etcd.data/member/wal |
| 63 | heartbeat-interval: 100 |
| 64 | election-timeout: 1000 |
| 65 | listen-client-urls: ["https://127.0.0.1:2379"] |
| 66 | advertise-client-urls: ["https://127.0.0.1:2379"] |
| 67 | auto-tls: true |
| 68 | client-cert-auth: false |
| 69 | cert-file: "" |
| 70 | key-file: "" |
| 71 | trusted-ca-file: "" |
| 72 | listen-peer-urls: ["https://127.0.0.1:2380"] |
| 73 | initial-advertise-peer-urls: ["https://127.0.0.1:2381"] |
| 74 | peer-auto-tls: true |
| 75 | peer-client-cert-auth: false |
| 76 | peer-cert-file: "" |
| 77 | peer-key-file: "" |
| 78 | peer-trusted-ca-file: "" |
| 79 | initial-cluster: s1=https://127.0.0.1:1381,s2=https://127.0.0.1:2381,s3=https://127.0.0.1:3381 |
| 80 | initial-cluster-state: new |
| 81 | initial-cluster-token: tkn |
| 82 | snapshot-count: 10000 |
| 83 | quota-backend-bytes: 10740000000 # 10 GiB |
| 84 | pre-vote: true |
| 85 | initial-corrupt-check: true |
| 86 | client-cert-data: "" |
| 87 | client-cert-path: "" |
| 88 | client-key-data: "" |
| 89 | client-key-path: "" |
| 90 | client-trusted-ca-data: "" |
| 91 | client-trusted-ca-path: "" |
| 92 | peer-cert-data: "" |
| 93 | peer-cert-path: "" |
| 94 | peer-key-data: "" |
| 95 | peer-key-path: "" |
| 96 | peer-trusted-ca-data: "" |
| 97 | peer-trusted-ca-path: "" |
| 98 | snapshot-path: /tmp/etcd-functional-2.snapshot.db |
| 99 | |
| 100 | - etcd-exec-path: ./bin/etcd |
| 101 | agent-addr: 127.0.0.1:39027 |
| 102 | failpoint-http-addr: http://127.0.0.1:7383 |
| 103 | base-dir: /tmp/etcd-functional-3 |
| 104 | etcd-log-path: /tmp/etcd-functional-3/etcd.log |
| 105 | etcd-client-proxy: false |
| 106 | etcd-peer-proxy: true |
| 107 | etcd-client-endpoint: 127.0.0.1:3379 |
| 108 | etcd: |
| 109 | name: s3 |
| 110 | data-dir: /tmp/etcd-functional-3/etcd.data |
| 111 | wal-dir: /tmp/etcd-functional-3/etcd.data/member/wal |
| 112 | heartbeat-interval: 100 |
| 113 | election-timeout: 1000 |
| 114 | listen-client-urls: ["https://127.0.0.1:3379"] |
| 115 | advertise-client-urls: ["https://127.0.0.1:3379"] |
| 116 | auto-tls: true |
| 117 | client-cert-auth: false |
| 118 | cert-file: "" |
| 119 | key-file: "" |
| 120 | trusted-ca-file: "" |
| 121 | listen-peer-urls: ["https://127.0.0.1:3380"] |
| 122 | initial-advertise-peer-urls: ["https://127.0.0.1:3381"] |
| 123 | peer-auto-tls: true |
| 124 | peer-client-cert-auth: false |
| 125 | peer-cert-file: "" |
| 126 | peer-key-file: "" |
| 127 | peer-trusted-ca-file: "" |
| 128 | initial-cluster: s1=https://127.0.0.1:1381,s2=https://127.0.0.1:2381,s3=https://127.0.0.1:3381 |
| 129 | initial-cluster-state: new |
| 130 | initial-cluster-token: tkn |
| 131 | snapshot-count: 10000 |
| 132 | quota-backend-bytes: 10740000000 # 10 GiB |
| 133 | pre-vote: true |
| 134 | initial-corrupt-check: true |
| 135 | client-cert-data: "" |
| 136 | client-cert-path: "" |
| 137 | client-key-data: "" |
| 138 | client-key-path: "" |
| 139 | client-trusted-ca-data: "" |
| 140 | client-trusted-ca-path: "" |
| 141 | peer-cert-data: "" |
| 142 | peer-cert-path: "" |
| 143 | peer-key-data: "" |
| 144 | peer-key-path: "" |
| 145 | peer-trusted-ca-data: "" |
| 146 | peer-trusted-ca-path: "" |
| 147 | snapshot-path: /tmp/etcd-functional-3.snapshot.db |
| 148 | |
| 149 | tester-config: |
| 150 | data-dir: /tmp/etcd-tester-data |
| 151 | network: tcp |
| 152 | addr: 127.0.0.1:9028 |
| 153 | |
| 154 | # slow enough to trigger election |
| 155 | delay-latency-ms: 5000 |
| 156 | delay-latency-ms-rv: 500 |
| 157 | |
| 158 | round-limit: 1 |
| 159 | exit-on-failure: true |
| 160 | enable-pprof: true |
| 161 | |
| 162 | case-delay-ms: 7000 |
| 163 | case-shuffle: true |
| 164 | |
| 165 | # For full descriptions, |
| 166 | # https://godoc.org/github.com/coreos/etcd/functional/rpcpb#Case |
| 167 | cases: |
| 168 | - SIGTERM_ONE_FOLLOWER |
| 169 | - SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT |
| 170 | - SIGTERM_LEADER |
| 171 | - SIGTERM_LEADER_UNTIL_TRIGGER_SNAPSHOT |
| 172 | - SIGTERM_QUORUM |
| 173 | - SIGTERM_ALL |
| 174 | - SIGQUIT_AND_REMOVE_ONE_FOLLOWER |
| 175 | - SIGQUIT_AND_REMOVE_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT |
| 176 | - BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER |
| 177 | - BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT |
| 178 | - BLACKHOLE_PEER_PORT_TX_RX_LEADER |
| 179 | - BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT |
| 180 | - BLACKHOLE_PEER_PORT_TX_RX_QUORUM |
| 181 | - DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER |
| 182 | - DELAY_PEER_PORT_TX_RX_LEADER |
| 183 | - DELAY_PEER_PORT_TX_RX_QUORUM |
| 184 | |
| 185 | failpoint-commands: |
| 186 | - panic("etcd-tester") |
| 187 | |
| 188 | runner-exec-path: ./bin/etcd-runner |
| 189 | external-exec-path: "" |
| 190 | |
| 191 | stressers: |
| 192 | - KV |
| 193 | - LEASE |
| 194 | |
| 195 | checkers: |
| 196 | - KV_HASH |
| 197 | - LEASE_EXPIRE |
| 198 | |
| 199 | stress-key-size: 100 |
| 200 | stress-key-size-large: 32769 |
| 201 | stress-key-suffix-range: 250000 |
| 202 | stress-key-suffix-range-txn: 100 |
| 203 | stress-key-txn-ops: 10 |
| 204 | |
| 205 | stress-clients: 100 |
| 206 | stress-qps: 2000 |