From 634497b75899887567d48ff134059443069b8196 Mon Sep 17 00:00:00 2001 From: Arjan Singh Bal <46515553+arjan-bal@users.noreply.github.com> Date: Tue, 3 Dec 2024 12:30:29 +0530 Subject: [PATCH] test: Split import paths for generated message and service code (#7891) --- test/clientconn_state_transition_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/clientconn_state_transition_test.go b/test/clientconn_state_transition_test.go index a0a61099aee6..547b5ffb9a24 100644 --- a/test/clientconn_state_transition_test.go +++ b/test/clientconn_state_transition_test.go @@ -39,6 +39,7 @@ import ( "google.golang.org/grpc/internal/stubserver" "google.golang.org/grpc/internal/testutils" testgrpc "google.golang.org/grpc/interop/grpc_testing" + testpb "google.golang.org/grpc/interop/grpc_testing" "google.golang.org/grpc/resolver" "google.golang.org/grpc/resolver/manual" ) @@ -678,7 +679,7 @@ func (s) TestChannelStateTransitionWithRPC(t *testing.T) { // Make an RPC call to transition the channel to CONNECTING. go func() { - _, err := testgrpc.NewTestServiceClient(cc).EmptyCall(ctx, &testgrpc.Empty{}) + _, err := testgrpc.NewTestServiceClient(cc).EmptyCall(ctx, &testpb.Empty{}) if err == nil { t.Errorf("Expected RPC to fail, but it succeeded") }