diff --git a/cmd/kubeadm/app/util/etcd/etcd_test.go b/cmd/kubeadm/app/util/etcd/etcd_test.go index ac05118c079..4ebff47ea86 100644 --- a/cmd/kubeadm/app/util/etcd/etcd_test.go +++ b/cmd/kubeadm/app/util/etcd/etcd_test.go @@ -135,7 +135,7 @@ func TestGetClientURL(t *testing.T) { } func TestGetPeerURL(t *testing.T) { - testGetURL(t, GetClientURL, constants.EtcdListenClientPort) + testGetURL(t, GetPeerURL, constants.EtcdListenPeerPort) } func TestGetClientURLByIP(t *testing.T) {