diff --git a/etcd_long_test.go b/etcd_long_test.go index 1589bd153..15dbcc185 100644 --- a/etcd_long_test.go +++ b/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) } }