Browse Source

chore(rejoin_test): rewrite some printout

Yicheng Qin 11 years ago
parent
commit
000e3ba651
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/functional/rejoin_test.go

+ 2 - 2
tests/functional/rejoin_test.go

@@ -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() {