Skip to content

Commit

Permalink
xds: generic xds client ads stream implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
purnesh42H committed Feb 20, 2025
1 parent 0f2371c commit 081938f
Show file tree
Hide file tree
Showing 4 changed files with 1,089 additions and 1 deletion.
2 changes: 1 addition & 1 deletion xds/internal/clients/grpctransport/grpc_transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func (s) TestStream_SendAndRecv(t *testing.T) {
// server.
var gotRes v3discoverypb.DiscoveryResponse
if err := proto.Unmarshal(res, &gotRes); err != nil {
t.Fatalf("Failed to unmarshal response from ts.requestChan to DiscoveryRequest: %v", err)
t.Fatalf("Failed to unmarshal response from ts.requestChan to DiscoveryResponse: %v", err)
}
if !cmp.Equal(&gotRes, ts.response, protocmp.Transform()) {
t.Fatalf("proto.Unmarshal(res, &gotRes) = %v, want %v", &gotRes, ts.response)
Expand Down
Loading

0 comments on commit 081938f

Please # to comment.