Skip to content

Commit

Permalink
Fix test of clientv3/naming
Browse files Browse the repository at this point in the history
Signed-off-by: Hubert Zhang <hubert.zyk@gmail.com>
  • Loading branch information
HubertZhang committed May 24, 2023
1 parent 2158f21 commit 9811738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/clientv3/naming/resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 9811738

Please sign in to comment.