test(hash-endpoint): update hash endpoint test

This commit is contained in:
bandl 2021-11-11 23:00:04 +08:00
parent 60de1a6ae9
commit 25be4a1509
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import (
)
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"