Skip to content

Commit cb23844

Browse files
authored
tests: remove generated routing parameter test for bidi/client side streaming (#2313)
1 parent a694ceb commit cb23844

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gapic/templates/tests/unit/gapic/%name_%version/%sub/test_macros.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2173,7 +2173,8 @@ def test_initialize_client_w_{{transport_name}}():
21732173

21742174
{% macro routing_parameter_test(service, api, transport, is_async) %}
21752175
{% for method in service.methods.values() %}{# method #}
2176-
{% if method.explicit_routing %}
2176+
{# See existing proposal b/330610501 to add support for explicit routing in BIDI/client side streaming #}
2177+
{% if method.explicit_routing and not method.client_streaming %}
21772178
{# Any value that is part of the HTTP/1.1 URI should be sent as #}
21782179
{# a field header. Set these to a non-empty value. #}
21792180
{% for routing_param in method.routing_rule.routing_parameters %}

0 commit comments

Comments
 (0)