test(hash-endpoint): update hash endpoint test
This commit is contained in:
parent
60de1a6ae9
commit
25be4a1509
|
@ -7,7 +7,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestHashTransport_GetTargetAddr(t *testing.T) {
|
func TestHashTransport_GetTargetAddr(t *testing.T) {
|
||||||
tran := NewHashTransport(3, nil, "127.0.0.1:5581", "127.0.0.1:5582", "127.0.0.1:5583")
|
tran := NewHashEndpoint(3, nil, "127.0.0.1:5581", "127.0.0.1:5582", "127.0.0.1:5583")
|
||||||
|
|
||||||
key := "test"
|
key := "test"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue