test/xds: Use different import path for gRPC Messages (#6933)

This commit is contained in:
Zach Reyes 2024-01-22 19:31:38 -05:00 committed by GitHub
parent 67e50be526
commit 52e23632fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -408,7 +408,7 @@ func (s) TestServingModeChanges(t *testing.T) {
// New RPCs on that connection should eventually start failing. Due to
// Graceful Stop any started streams continue to work.
if err = stream.Send(&testgrpc.StreamingOutputCallRequest{}); err != nil {
if err = stream.Send(&testpb.StreamingOutputCallRequest{}); err != nil {
t.Fatalf("stream.Send() failed: %v, should continue to work due to graceful stop", err)
}
if err = stream.CloseSend(); err != nil {
@ -498,7 +498,7 @@ func (s) TestMultipleUpdatesImmediatelySwitch(t *testing.T) {
if err != nil {
t.Fatalf("cc.FullDuplexCall failed: %f", err)
}
if err = stream.Send(&testgrpc.StreamingOutputCallRequest{}); err != nil {
if err = stream.Send(&testpb.StreamingOutputCallRequest{}); err != nil {
t.Fatalf("stream.Send() failed: %v, should continue to work due to graceful stop", err)
}