Skip to content

Commit

Permalink
[XdsInteropClient] Remove incorrect behavior around keep-open
Browse files Browse the repository at this point in the history
  • Loading branch information
yashykt committed Jan 29, 2025
1 parent 90d33ff commit 99556ba
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/cpp/interop/xds_interop_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,6 @@ class TestClient {
}
for (const auto& data : config.metadata) {
call->context.AddMetadata(data.first, data.second);
// TODO(@donnadionne): move deadline to separate proto.
if (data.first == "rpc-behavior" && data.second == "keep-open") {
deadline =
std::chrono::system_clock::now() + std::chrono::seconds(INT_MAX);
}
}
SimpleRequest request;
request.set_response_size(config.response_payload_size);
Expand Down Expand Up @@ -205,11 +200,6 @@ class TestClient {
}
for (const auto& data : config.metadata) {
call->context.AddMetadata(data.first, data.second);
// TODO(@donnadionne): move deadline to separate proto.
if (data.first == "rpc-behavior" && data.second == "keep-open") {
deadline =
std::chrono::system_clock::now() + std::chrono::seconds(INT_MAX);
}
}
call->context.set_deadline(deadline);
call->result.saved_request_id = saved_request_id;
Expand Down

0 comments on commit 99556ba

Please sign in to comment.