functional.yaml 5.8 KB

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