From 25be4a1509df3662c9a44e7598770d3466d7b011 Mon Sep 17 00:00:00 2001 From: bandl <1658002533@qq.com> Date: Thu, 11 Nov 2021 23:00:04 +0800 Subject: [PATCH] test(hash-endpoint): update hash endpoint test --- gateway/endpoint/hash_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/endpoint/hash_test.go b/gateway/endpoint/hash_test.go index b074a72..c147533 100644 --- a/gateway/endpoint/hash_test.go +++ b/gateway/endpoint/hash_test.go @@ -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"