Browse Source

fix naming in long_test.go

Xiang Li 12 years ago
parent
commit
fa6c8f4f18
1 changed files with 2 additions and 2 deletions
  1. 2 2
      etcd_long_test.go

+ 2 - 2
etcd_long_test.go

@@ -57,8 +57,8 @@ func TestKillLeader(t *testing.T) {
 		totalTime += take
 		avgTime := totalTime / (time.Duration)(i+1)
 
-		fmt.Println("Leader election time is ", take, "with election timeout", ELECTIONTIMEOUT)
-		fmt.Println("Leader election time average is", avgTime, "with election timeout", ELECTIONTIMEOUT)
+		fmt.Println("Leader election time is ", take, "with election timeout", ElectionTimeout)
+		fmt.Println("Leader election time average is", avgTime, "with election timeout", ElectionTimeout)
 		etcds[num], err = os.StartProcess("etcd", argGroup[num], procAttr)
 	}
 }