|
|
@@ -49,13 +49,13 @@ func Test_read(t *testing.T) {
|
|
|
ClientKeyFile: "",
|
|
|
ClientTrustedCAFile: "",
|
|
|
ListenPeerURLs: []string{"https://127.0.0.1:1380"},
|
|
|
- AdvertisePeerURLs: []string{"https://127.0.0.1:13800"},
|
|
|
+ AdvertisePeerURLs: []string{"https://127.0.0.1:1381"},
|
|
|
PeerAutoTLS: true,
|
|
|
PeerClientCertAuth: false,
|
|
|
PeerCertFile: "",
|
|
|
PeerKeyFile: "",
|
|
|
PeerTrustedCAFile: "",
|
|
|
- InitialCluster: "s1=https://127.0.0.1:13800,s2=https://127.0.0.1:23800,s3=https://127.0.0.1:33800",
|
|
|
+ InitialCluster: "s1=https://127.0.0.1:1381,s2=https://127.0.0.1:2381,s3=https://127.0.0.1:3381",
|
|
|
InitialClusterState: "new",
|
|
|
InitialClusterToken: "tkn",
|
|
|
SnapshotCount: 10000,
|
|
|
@@ -102,13 +102,13 @@ func Test_read(t *testing.T) {
|
|
|
ClientKeyFile: "",
|
|
|
ClientTrustedCAFile: "",
|
|
|
ListenPeerURLs: []string{"https://127.0.0.1:2380"},
|
|
|
- AdvertisePeerURLs: []string{"https://127.0.0.1:23800"},
|
|
|
+ AdvertisePeerURLs: []string{"https://127.0.0.1:2381"},
|
|
|
PeerAutoTLS: true,
|
|
|
PeerClientCertAuth: false,
|
|
|
PeerCertFile: "",
|
|
|
PeerKeyFile: "",
|
|
|
PeerTrustedCAFile: "",
|
|
|
- InitialCluster: "s1=https://127.0.0.1:13800,s2=https://127.0.0.1:23800,s3=https://127.0.0.1:33800",
|
|
|
+ InitialCluster: "s1=https://127.0.0.1:1381,s2=https://127.0.0.1:2381,s3=https://127.0.0.1:3381",
|
|
|
InitialClusterState: "new",
|
|
|
InitialClusterToken: "tkn",
|
|
|
SnapshotCount: 10000,
|
|
|
@@ -155,13 +155,13 @@ func Test_read(t *testing.T) {
|
|
|
ClientKeyFile: "",
|
|
|
ClientTrustedCAFile: "",
|
|
|
ListenPeerURLs: []string{"https://127.0.0.1:3380"},
|
|
|
- AdvertisePeerURLs: []string{"https://127.0.0.1:33800"},
|
|
|
+ AdvertisePeerURLs: []string{"https://127.0.0.1:3381"},
|
|
|
PeerAutoTLS: true,
|
|
|
PeerClientCertAuth: false,
|
|
|
PeerCertFile: "",
|
|
|
PeerKeyFile: "",
|
|
|
PeerTrustedCAFile: "",
|
|
|
- InitialCluster: "s1=https://127.0.0.1:13800,s2=https://127.0.0.1:23800,s3=https://127.0.0.1:33800",
|
|
|
+ InitialCluster: "s1=https://127.0.0.1:1381,s2=https://127.0.0.1:2381,s3=https://127.0.0.1:3381",
|
|
|
InitialClusterState: "new",
|
|
|
InitialClusterToken: "tkn",
|
|
|
SnapshotCount: 10000,
|
|
|
@@ -211,16 +211,16 @@ func Test_read(t *testing.T) {
|
|
|
// "SIGQUIT_AND_REMOVE_LEADER",
|
|
|
// "SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT",
|
|
|
// "SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_LEADER_SNAPSHOT_FROM_SCRATCH",
|
|
|
- "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER",
|
|
|
- "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
|
|
|
+ // "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER",
|
|
|
+ // "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
|
|
|
"BLACKHOLE_PEER_PORT_TX_RX_LEADER",
|
|
|
"BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT",
|
|
|
"BLACKHOLE_PEER_PORT_TX_RX_QUORUM",
|
|
|
"BLACKHOLE_PEER_PORT_TX_RX_ALL",
|
|
|
- "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER",
|
|
|
- "RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER",
|
|
|
- "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
|
|
|
- "RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
|
|
|
+ // "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER",
|
|
|
+ // "RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER",
|
|
|
+ // "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
|
|
|
+ // "RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
|
|
|
"DELAY_PEER_PORT_TX_RX_LEADER",
|
|
|
"RANDOM_DELAY_PEER_PORT_TX_RX_LEADER",
|
|
|
"DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT",
|