We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2d8d60 commit d92a5d6Copy full SHA for d92a5d6
test/parameter_test.cc
@@ -68,11 +68,12 @@ void Service(int seconds) {
68
vector<pair<string, string>> GetValues(unique_ptr<KeyValueStore::Stub>& stub,
69
const vector<string>& keys) {
70
vector<pair<string, string>> values;
71
- ClientContext context;
72
- Request request;
73
- Response response;
74
75
for (const auto& key : keys) {
+ ClientContext context;
+ Request request;
+ Response response;
76
+
77
// Key we are sending to the server.
78
request.set_key(key);
79
auto status = stub->GetValues(&context, request, &response);
0 commit comments