mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
kubeadm: fix wrong ut for util/etcd
Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
parent
26c3f66887
commit
20db4ef3d6
@ -135,7 +135,7 @@ func TestGetClientURL(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestGetPeerURL(t *testing.T) {
|
func TestGetPeerURL(t *testing.T) {
|
||||||
testGetURL(t, GetClientURL, constants.EtcdListenClientPort)
|
testGetURL(t, GetPeerURL, constants.EtcdListenPeerPort)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestGetClientURLByIP(t *testing.T) {
|
func TestGetClientURLByIP(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user