From 99556ba8f7d3e5481750fb91eee9683d838cf182 Mon Sep 17 00:00:00 2001 From: Yash Tibrewal Date: Wed, 29 Jan 2025 01:13:31 +0000 Subject: [PATCH] [XdsInteropClient] Remove incorrect behavior around keep-open --- test/cpp/interop/xds_interop_client.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/cpp/interop/xds_interop_client.cc b/test/cpp/interop/xds_interop_client.cc index 61a45442fa8e1..0a83874ba5c9c 100644 --- a/test/cpp/interop/xds_interop_client.cc +++ b/test/cpp/interop/xds_interop_client.cc @@ -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); @@ -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;