mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
chore(rejoin_test): rewrite some printout
This commit is contained in:
parent
e0fbe27c99
commit
000e3ba651
@ -147,7 +147,7 @@ func TestReplaceWithDifferentPeerAddress(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// Create a five nodes
|
||||
// Create a five-node cluster
|
||||
// Let the sixth instance join with different name and existing peer address
|
||||
func TestRejoinWithDifferentName(t *testing.T) {
|
||||
procAttr := new(os.ProcAttr)
|
||||
@ -180,7 +180,7 @@ func TestRejoinWithDifferentName(t *testing.T) {
|
||||
etcds[num], err = os.StartProcess(EtcdBinPath, append(argGroup[num], "-f", "-name=node6", "-peers=127.0.0.1:7002"), procAttr)
|
||||
}
|
||||
if err != nil {
|
||||
t.Fatal("fail starting etcd:", err)
|
||||
t.Fatal("failed to start process:", err)
|
||||
}
|
||||
|
||||
timer := time.AfterFunc(10*time.Second, func() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user