Fix test of clientv3/naming

Signed-off-by: Hubert Zhang <hubert.zyk@gmail.com>
This commit is contained in:
Hubert Zhang 2023-05-23 20:43:25 +00:00
parent 2158f21ad5
commit 98117389d2

View File

@ -115,7 +115,7 @@ func TestEtcdGrpcResolver(t *testing.T) {
}
func TestEtcdEndpointManager(t *testing.T) {
integration2.BeforeTest(t)
integration.BeforeTest(t)
s1PayloadBody := []byte{'1'}
s1 := grpc_testing.NewDummyStubServer(s1PayloadBody)
@ -129,7 +129,7 @@ func TestEtcdEndpointManager(t *testing.T) {
assert.NoError(t, err)
defer s2.Stop()
clus := integration2.NewCluster(t, &integration2.ClusterConfig{Size: 3})
clus := integration.NewClusterV3(t, &integration.ClusterConfig{Size: 3})
defer clus.Terminate(t)
// Check if any endpoint with the same prefix "foo" will not break the logic with multiple endpoints