Add message and service definition for updating test client's configuration dynamically.

pull/24435/head
Chengyuan Zhang 4 years ago
parent 4565d8fb64
commit 7be41b9a75
  1. 6
      src/proto/grpc/testing/messages.proto
  2. 5
      src/proto/grpc/testing/test.proto

@ -222,3 +222,9 @@ message LoadBalancerRealTimeStatsResponse {
// The real-time total number of RPCs failed.
int32 num_rpcs_failed = 3;
}
// Configurations for a test client.
message ClientConfigureRequest {
// The collection of custom metadata to be attached to RPCs sent by the client.
map<string, string> custom_metadata = 1;
}

@ -97,3 +97,8 @@ service XdsUpdateHealthService {
rpc SetServing(grpc.testing.Empty) returns (grpc.testing.Empty);
rpc SetNotServing(grpc.testing.Empty) returns (grpc.testing.Empty);
}
// A service to dynamically update the configuration of an xDS test client.
service XdsUpdateClientConfigureService {
rpc Configure(ClientConfigureRequest) returns (grpc.testing.Empty);
}

Loading…
Cancel
Save