| 1 |
|
| 2 |
/* |
| 3 |
* |
| 4 |
* Copyright 2015 gRPC authors. |
| 5 |
* |
| 6 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 |
* you may not use this file except in compliance with the License. |
| 8 |
* You may obtain a copy of the License at |
| 9 |
* |
| 10 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 11 |
* |
| 12 |
* Unless required by applicable law or agreed to in writing, software |
| 13 |
* distributed under the License is distributed on an "AS IS" BASIS, |
| 14 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 |
* See the License for the specific language governing permissions and |
| 16 |
* limitations under the License. |
| 17 |
* |
| 18 |
*/ |
| 19 |
|
| 20 |
/* This file is auto-generated */ |
| 21 |
|
| 22 |
#include "test/core/end2end/end2end_tests.h" |
| 23 |
|
| 24 |
#include <stdbool.h> |
| 25 |
#include <string.h> |
| 26 |
|
| 27 |
#include <grpc/support/log.h> |
| 28 |
|
| 29 |
|
| 30 |
static bool g_pre_init_called = false; |
| 31 |
|
| 32 |
extern void authority_not_supported(grpc_end2end_test_config config); |
| 33 |
extern void authority_not_supported_pre_init(void); |
| 34 |
extern void bad_hostname(grpc_end2end_test_config config); |
| 35 |
extern void bad_hostname_pre_init(void); |
| 36 |
extern void bad_ping(grpc_end2end_test_config config); |
| 37 |
extern void bad_ping_pre_init(void); |
| 38 |
extern void binary_metadata(grpc_end2end_test_config config); |
| 39 |
extern void binary_metadata_pre_init(void); |
| 40 |
extern void call_creds(grpc_end2end_test_config config); |
| 41 |
extern void call_creds_pre_init(void); |
| 42 |
extern void call_host_override(grpc_end2end_test_config config); |
| 43 |
extern void call_host_override_pre_init(void); |
| 44 |
extern void cancel_after_accept(grpc_end2end_test_config config); |
| 45 |
extern void cancel_after_accept_pre_init(void); |
| 46 |
extern void cancel_after_client_done(grpc_end2end_test_config config); |
| 47 |
extern void cancel_after_client_done_pre_init(void); |
| 48 |
extern void cancel_after_invoke(grpc_end2end_test_config config); |
| 49 |
extern void cancel_after_invoke_pre_init(void); |
| 50 |
extern void cancel_after_round_trip(grpc_end2end_test_config config); |
| 51 |
extern void cancel_after_round_trip_pre_init(void); |
| 52 |
extern void cancel_before_invoke(grpc_end2end_test_config config); |
| 53 |
extern void cancel_before_invoke_pre_init(void); |
| 54 |
extern void cancel_in_a_vacuum(grpc_end2end_test_config config); |
| 55 |
extern void cancel_in_a_vacuum_pre_init(void); |
| 56 |
extern void cancel_with_status(grpc_end2end_test_config config); |
| 57 |
extern void cancel_with_status_pre_init(void); |
| 58 |
extern void channelz(grpc_end2end_test_config config); |
| 59 |
extern void channelz_pre_init(void); |
| 60 |
extern void client_streaming(grpc_end2end_test_config config); |
| 61 |
extern void client_streaming_pre_init(void); |
| 62 |
extern void compressed_payload(grpc_end2end_test_config config); |
| 63 |
extern void compressed_payload_pre_init(void); |
| 64 |
extern void connectivity(grpc_end2end_test_config config); |
| 65 |
extern void connectivity_pre_init(void); |
| 66 |
extern void default_host(grpc_end2end_test_config config); |
| 67 |
extern void default_host_pre_init(void); |
| 68 |
extern void disappearing_server(grpc_end2end_test_config config); |
| 69 |
extern void disappearing_server_pre_init(void); |
| 70 |
extern void empty_batch(grpc_end2end_test_config config); |
| 71 |
extern void empty_batch_pre_init(void); |
| 72 |
extern void filter_causes_close(grpc_end2end_test_config config); |
| 73 |
extern void filter_causes_close_pre_init(void); |
| 74 |
extern void filter_context(grpc_end2end_test_config config); |
| 75 |
extern void filter_context_pre_init(void); |
| 76 |
extern void filter_init_fails(grpc_end2end_test_config config); |
| 77 |
extern void filter_init_fails_pre_init(void); |
| 78 |
extern void filter_latency(grpc_end2end_test_config config); |
| 79 |
extern void filter_latency_pre_init(void); |
| 80 |
extern void filter_status_code(grpc_end2end_test_config config); |
| 81 |
extern void filter_status_code_pre_init(void); |
| 82 |
extern void filtered_metadata(grpc_end2end_test_config config); |
| 83 |
extern void filtered_metadata_pre_init(void); |
| 84 |
extern void graceful_server_shutdown(grpc_end2end_test_config config); |
| 85 |
extern void graceful_server_shutdown_pre_init(void); |
| 86 |
extern void grpc_authz(grpc_end2end_test_config config); |
| 87 |
extern void grpc_authz_pre_init(void); |
| 88 |
extern void high_initial_seqno(grpc_end2end_test_config config); |
| 89 |
extern void high_initial_seqno_pre_init(void); |
| 90 |
extern void hpack_size(grpc_end2end_test_config config); |
| 91 |
extern void hpack_size_pre_init(void); |
| 92 |
extern void invoke_large_request(grpc_end2end_test_config config); |
| 93 |
extern void invoke_large_request_pre_init(void); |
| 94 |
extern void keepalive_timeout(grpc_end2end_test_config config); |
| 95 |
extern void keepalive_timeout_pre_init(void); |
| 96 |
extern void large_metadata(grpc_end2end_test_config config); |
| 97 |
extern void large_metadata_pre_init(void); |
| 98 |
extern void max_concurrent_streams(grpc_end2end_test_config config); |
| 99 |
extern void max_concurrent_streams_pre_init(void); |
| 100 |
extern void max_connection_age(grpc_end2end_test_config config); |
| 101 |
extern void max_connection_age_pre_init(void); |
| 102 |
extern void max_connection_idle(grpc_end2end_test_config config); |
| 103 |
extern void max_connection_idle_pre_init(void); |
| 104 |
extern void max_message_length(grpc_end2end_test_config config); |
| 105 |
extern void max_message_length_pre_init(void); |
| 106 |
extern void negative_deadline(grpc_end2end_test_config config); |
| 107 |
extern void negative_deadline_pre_init(void); |
| 108 |
extern void no_logging(grpc_end2end_test_config config); |
| 109 |
extern void no_logging_pre_init(void); |
| 110 |
extern void no_op(grpc_end2end_test_config config); |
| 111 |
extern void no_op_pre_init(void); |
| 112 |
extern void payload(grpc_end2end_test_config config); |
| 113 |
extern void payload_pre_init(void); |
| 114 |
extern void ping(grpc_end2end_test_config config); |
| 115 |
extern void ping_pre_init(void); |
| 116 |
extern void ping_pong_streaming(grpc_end2end_test_config config); |
| 117 |
extern void ping_pong_streaming_pre_init(void); |
| 118 |
extern void proxy_auth(grpc_end2end_test_config config); |
| 119 |
extern void proxy_auth_pre_init(void); |
| 120 |
extern void registered_call(grpc_end2end_test_config config); |
| 121 |
extern void registered_call_pre_init(void); |
| 122 |
extern void request_with_flags(grpc_end2end_test_config config); |
| 123 |
extern void request_with_flags_pre_init(void); |
| 124 |
extern void request_with_payload(grpc_end2end_test_config config); |
| 125 |
extern void request_with_payload_pre_init(void); |
| 126 |
extern void resource_quota_server(grpc_end2end_test_config config); |
| 127 |
extern void resource_quota_server_pre_init(void); |
| 128 |
extern void retry(grpc_end2end_test_config config); |
| 129 |
extern void retry_pre_init(void); |
| 130 |
extern void retry_cancel_after_first_attempt_starts(grpc_end2end_test_config config); |
| 131 |
extern void retry_cancel_after_first_attempt_starts_pre_init(void); |
| 132 |
extern void retry_cancel_during_delay(grpc_end2end_test_config config); |
| 133 |
extern void retry_cancel_during_delay_pre_init(void); |
| 134 |
extern void retry_cancel_with_multiple_send_batches(grpc_end2end_test_config config); |
| 135 |
extern void retry_cancel_with_multiple_send_batches_pre_init(void); |
| 136 |
extern void retry_cancellation(grpc_end2end_test_config config); |
| 137 |
extern void retry_cancellation_pre_init(void); |
| 138 |
extern void retry_disabled(grpc_end2end_test_config config); |
| 139 |
extern void retry_disabled_pre_init(void); |
| 140 |
extern void retry_exceeds_buffer_size_in_delay(grpc_end2end_test_config config); |
| 141 |
extern void retry_exceeds_buffer_size_in_delay_pre_init(void); |
| 142 |
extern void retry_exceeds_buffer_size_in_initial_batch(grpc_end2end_test_config config); |
| 143 |
extern void retry_exceeds_buffer_size_in_initial_batch_pre_init(void); |
| 144 |
extern void retry_exceeds_buffer_size_in_subsequent_batch(grpc_end2end_test_config config); |
| 145 |
extern void retry_exceeds_buffer_size_in_subsequent_batch_pre_init(void); |
| 146 |
extern void retry_lb_drop(grpc_end2end_test_config config); |
| 147 |
extern void retry_lb_drop_pre_init(void); |
| 148 |
extern void retry_lb_fail(grpc_end2end_test_config config); |
| 149 |
extern void retry_lb_fail_pre_init(void); |
| 150 |
extern void retry_non_retriable_status(grpc_end2end_test_config config); |
| 151 |
extern void retry_non_retriable_status_pre_init(void); |
| 152 |
extern void retry_non_retriable_status_before_recv_trailing_metadata_started(grpc_end2end_test_config config); |
| 153 |
extern void retry_non_retriable_status_before_recv_trailing_metadata_started_pre_init(void); |
| 154 |
extern void retry_per_attempt_recv_timeout(grpc_end2end_test_config config); |
| 155 |
extern void retry_per_attempt_recv_timeout_pre_init(void); |
| 156 |
extern void retry_per_attempt_recv_timeout_on_last_attempt(grpc_end2end_test_config config); |
| 157 |
extern void retry_per_attempt_recv_timeout_on_last_attempt_pre_init(void); |
| 158 |
extern void retry_recv_initial_metadata(grpc_end2end_test_config config); |
| 159 |
extern void retry_recv_initial_metadata_pre_init(void); |
| 160 |
extern void retry_recv_message(grpc_end2end_test_config config); |
| 161 |
extern void retry_recv_message_pre_init(void); |
| 162 |
extern void retry_recv_message_replay(grpc_end2end_test_config config); |
| 163 |
extern void retry_recv_message_replay_pre_init(void); |
| 164 |
extern void retry_recv_trailing_metadata_error(grpc_end2end_test_config config); |
| 165 |
extern void retry_recv_trailing_metadata_error_pre_init(void); |
| 166 |
extern void retry_send_initial_metadata_refs(grpc_end2end_test_config config); |
| 167 |
extern void retry_send_initial_metadata_refs_pre_init(void); |
| 168 |
extern void retry_send_op_fails(grpc_end2end_test_config config); |
| 169 |
extern void retry_send_op_fails_pre_init(void); |
| 170 |
extern void retry_send_recv_batch(grpc_end2end_test_config config); |
| 171 |
extern void retry_send_recv_batch_pre_init(void); |
| 172 |
extern void retry_server_pushback_delay(grpc_end2end_test_config config); |
| 173 |
extern void retry_server_pushback_delay_pre_init(void); |
| 174 |
extern void retry_server_pushback_disabled(grpc_end2end_test_config config); |
| 175 |
extern void retry_server_pushback_disabled_pre_init(void); |
| 176 |
extern void retry_streaming(grpc_end2end_test_config config); |
| 177 |
extern void retry_streaming_pre_init(void); |
| 178 |
extern void retry_streaming_after_commit(grpc_end2end_test_config config); |
| 179 |
extern void retry_streaming_after_commit_pre_init(void); |
| 180 |
extern void retry_streaming_succeeds_before_replay_finished(grpc_end2end_test_config config); |
| 181 |
extern void retry_streaming_succeeds_before_replay_finished_pre_init(void); |
| 182 |
extern void retry_throttled(grpc_end2end_test_config config); |
| 183 |
extern void retry_throttled_pre_init(void); |
| 184 |
extern void retry_too_many_attempts(grpc_end2end_test_config config); |
| 185 |
extern void retry_too_many_attempts_pre_init(void); |
| 186 |
extern void retry_transparent_goaway(grpc_end2end_test_config config); |
| 187 |
extern void retry_transparent_goaway_pre_init(void); |
| 188 |
extern void retry_transparent_max_concurrent_streams(grpc_end2end_test_config config); |
| 189 |
extern void retry_transparent_max_concurrent_streams_pre_init(void); |
| 190 |
extern void retry_transparent_not_sent_on_wire(grpc_end2end_test_config config); |
| 191 |
extern void retry_transparent_not_sent_on_wire_pre_init(void); |
| 192 |
extern void retry_unref_before_finish(grpc_end2end_test_config config); |
| 193 |
extern void retry_unref_before_finish_pre_init(void); |
| 194 |
extern void retry_unref_before_recv(grpc_end2end_test_config config); |
| 195 |
extern void retry_unref_before_recv_pre_init(void); |
| 196 |
extern void server_finishes_request(grpc_end2end_test_config config); |
| 197 |
extern void server_finishes_request_pre_init(void); |
| 198 |
extern void server_streaming(grpc_end2end_test_config config); |
| 199 |
extern void server_streaming_pre_init(void); |
| 200 |
extern void shutdown_finishes_calls(grpc_end2end_test_config config); |
| 201 |
extern void shutdown_finishes_calls_pre_init(void); |
| 202 |
extern void shutdown_finishes_tags(grpc_end2end_test_config config); |
| 203 |
extern void shutdown_finishes_tags_pre_init(void); |
| 204 |
extern void simple_delayed_request(grpc_end2end_test_config config); |
| 205 |
extern void simple_delayed_request_pre_init(void); |
| 206 |
extern void simple_metadata(grpc_end2end_test_config config); |
| 207 |
extern void simple_metadata_pre_init(void); |
| 208 |
extern void simple_request(grpc_end2end_test_config config); |
| 209 |
extern void simple_request_pre_init(void); |
| 210 |
extern void streaming_error_response(grpc_end2end_test_config config); |
| 211 |
extern void streaming_error_response_pre_init(void); |
| 212 |
extern void trailing_metadata(grpc_end2end_test_config config); |
| 213 |
extern void trailing_metadata_pre_init(void); |
| 214 |
extern void write_buffering(grpc_end2end_test_config config); |
| 215 |
extern void write_buffering_pre_init(void); |
| 216 |
extern void write_buffering_at_end(grpc_end2end_test_config config); |
| 217 |
extern void write_buffering_at_end_pre_init(void); |
| 218 |
|
| 219 |
void grpc_end2end_tests_pre_init(void) { |
| 220 |
GPR_ASSERT(!g_pre_init_called); |
| 221 |
g_pre_init_called = true; |
| 222 |
authority_not_supported_pre_init(); |
| 223 |
bad_hostname_pre_init(); |
| 224 |
bad_ping_pre_init(); |
| 225 |
binary_metadata_pre_init(); |
| 226 |
call_creds_pre_init(); |
| 227 |
call_host_override_pre_init(); |
| 228 |
cancel_after_accept_pre_init(); |
| 229 |
cancel_after_client_done_pre_init(); |
| 230 |
cancel_after_invoke_pre_init(); |
| 231 |
cancel_after_round_trip_pre_init(); |
| 232 |
cancel_before_invoke_pre_init(); |
| 233 |
cancel_in_a_vacuum_pre_init(); |
| 234 |
cancel_with_status_pre_init(); |
| 235 |
channelz_pre_init(); |
| 236 |
client_streaming_pre_init(); |
| 237 |
compressed_payload_pre_init(); |
| 238 |
connectivity_pre_init(); |
| 239 |
default_host_pre_init(); |
| 240 |
disappearing_server_pre_init(); |
| 241 |
empty_batch_pre_init(); |
| 242 |
filter_causes_close_pre_init(); |
| 243 |
filter_context_pre_init(); |
| 244 |
filter_init_fails_pre_init(); |
| 245 |
filter_latency_pre_init(); |
| 246 |
filter_status_code_pre_init(); |
| 247 |
filtered_metadata_pre_init(); |
| 248 |
graceful_server_shutdown_pre_init(); |
| 249 |
grpc_authz_pre_init(); |
| 250 |
high_initial_seqno_pre_init(); |
| 251 |
hpack_size_pre_init(); |
| 252 |
invoke_large_request_pre_init(); |
| 253 |
keepalive_timeout_pre_init(); |
| 254 |
large_metadata_pre_init(); |
| 255 |
max_concurrent_streams_pre_init(); |
| 256 |
max_connection_age_pre_init(); |
| 257 |
max_connection_idle_pre_init(); |
| 258 |
max_message_length_pre_init(); |
| 259 |
negative_deadline_pre_init(); |
| 260 |
no_logging_pre_init(); |
| 261 |
no_op_pre_init(); |
| 262 |
payload_pre_init(); |
| 263 |
ping_pre_init(); |
| 264 |
ping_pong_streaming_pre_init(); |
| 265 |
proxy_auth_pre_init(); |
| 266 |
registered_call_pre_init(); |
| 267 |
request_with_flags_pre_init(); |
| 268 |
request_with_payload_pre_init(); |
| 269 |
resource_quota_server_pre_init(); |
| 270 |
retry_pre_init(); |
| 271 |
retry_cancel_after_first_attempt_starts_pre_init(); |
| 272 |
retry_cancel_during_delay_pre_init(); |
| 273 |
retry_cancel_with_multiple_send_batches_pre_init(); |
| 274 |
retry_cancellation_pre_init(); |
| 275 |
retry_disabled_pre_init(); |
| 276 |
retry_exceeds_buffer_size_in_delay_pre_init(); |
| 277 |
retry_exceeds_buffer_size_in_initial_batch_pre_init(); |
| 278 |
retry_exceeds_buffer_size_in_subsequent_batch_pre_init(); |
| 279 |
retry_lb_drop_pre_init(); |
| 280 |
retry_lb_fail_pre_init(); |
| 281 |
retry_non_retriable_status_pre_init(); |
| 282 |
retry_non_retriable_status_before_recv_trailing_metadata_started_pre_init(); |
| 283 |
retry_per_attempt_recv_timeout_pre_init(); |
| 284 |
retry_per_attempt_recv_timeout_on_last_attempt_pre_init(); |
| 285 |
retry_recv_initial_metadata_pre_init(); |
| 286 |
retry_recv_message_pre_init(); |
| 287 |
retry_recv_message_replay_pre_init(); |
| 288 |
retry_recv_trailing_metadata_error_pre_init(); |
| 289 |
retry_send_initial_metadata_refs_pre_init(); |
| 290 |
retry_send_op_fails_pre_init(); |
| 291 |
retry_send_recv_batch_pre_init(); |
| 292 |
retry_server_pushback_delay_pre_init(); |
| 293 |
retry_server_pushback_disabled_pre_init(); |
| 294 |
retry_streaming_pre_init(); |
| 295 |
retry_streaming_after_commit_pre_init(); |
| 296 |
retry_streaming_succeeds_before_replay_finished_pre_init(); |
| 297 |
retry_throttled_pre_init(); |
| 298 |
retry_too_many_attempts_pre_init(); |
| 299 |
retry_transparent_goaway_pre_init(); |
| 300 |
retry_transparent_max_concurrent_streams_pre_init(); |
| 301 |
retry_transparent_not_sent_on_wire_pre_init(); |
| 302 |
retry_unref_before_finish_pre_init(); |
| 303 |
retry_unref_before_recv_pre_init(); |
| 304 |
server_finishes_request_pre_init(); |
| 305 |
server_streaming_pre_init(); |
| 306 |
shutdown_finishes_calls_pre_init(); |
| 307 |
shutdown_finishes_tags_pre_init(); |
| 308 |
simple_delayed_request_pre_init(); |
| 309 |
simple_metadata_pre_init(); |
| 310 |
simple_request_pre_init(); |
| 311 |
streaming_error_response_pre_init(); |
| 312 |
trailing_metadata_pre_init(); |
| 313 |
write_buffering_pre_init(); |
| 314 |
write_buffering_at_end_pre_init(); |
| 315 |
} |
| 316 |
|
| 317 |
// NOLINTNEXTLINE(readability-function-size) |
| 318 |
void grpc_end2end_tests(int argc, char **argv, |
| 319 |
grpc_end2end_test_config config) { |
| 320 |
int i; |
| 321 |
|
| 322 |
GPR_ASSERT(g_pre_init_called); |
| 323 |
|
| 324 |
if (argc <= 1) { |
| 325 |
authority_not_supported(config); |
| 326 |
bad_hostname(config); |
| 327 |
bad_ping(config); |
| 328 |
binary_metadata(config); |
| 329 |
call_creds(config); |
| 330 |
call_host_override(config); |
| 331 |
cancel_after_accept(config); |
| 332 |
cancel_after_client_done(config); |
| 333 |
cancel_after_invoke(config); |
| 334 |
cancel_after_round_trip(config); |
| 335 |
cancel_before_invoke(config); |
| 336 |
cancel_in_a_vacuum(config); |
| 337 |
cancel_with_status(config); |
| 338 |
channelz(config); |
| 339 |
client_streaming(config); |
| 340 |
compressed_payload(config); |
| 341 |
connectivity(config); |
| 342 |
default_host(config); |
| 343 |
disappearing_server(config); |
| 344 |
empty_batch(config); |
| 345 |
filter_causes_close(config); |
| 346 |
filter_context(config); |
| 347 |
filter_init_fails(config); |
| 348 |
filter_latency(config); |
| 349 |
filter_status_code(config); |
| 350 |
filtered_metadata(config); |
| 351 |
graceful_server_shutdown(config); |
| 352 |
grpc_authz(config); |
| 353 |
high_initial_seqno(config); |
| 354 |
hpack_size(config); |
| 355 |
invoke_large_request(config); |
| 356 |
keepalive_timeout(config); |
| 357 |
large_metadata(config); |
| 358 |
max_concurrent_streams(config); |
| 359 |
max_connection_age(config); |
| 360 |
max_connection_idle(config); |
| 361 |
max_message_length(config); |
| 362 |
negative_deadline(config); |
| 363 |
no_logging(config); |
| 364 |
no_op(config); |
| 365 |
payload(config); |
| 366 |
ping(config); |
| 367 |
ping_pong_streaming(config); |
| 368 |
proxy_auth(config); |
| 369 |
registered_call(config); |
| 370 |
request_with_flags(config); |
| 371 |
request_with_payload(config); |
| 372 |
resource_quota_server(config); |
| 373 |
retry(config); |
| 374 |
retry_cancel_after_first_attempt_starts(config); |
| 375 |
retry_cancel_during_delay(config); |
| 376 |
retry_cancel_with_multiple_send_batches(config); |
| 377 |
retry_cancellation(config); |
| 378 |
retry_disabled(config); |
| 379 |
retry_exceeds_buffer_size_in_delay(config); |
| 380 |
retry_exceeds_buffer_size_in_initial_batch(config); |
| 381 |
retry_exceeds_buffer_size_in_subsequent_batch(config); |
| 382 |
retry_lb_drop(config); |
| 383 |
retry_lb_fail(config); |
| 384 |
retry_non_retriable_status(config); |
| 385 |
retry_non_retriable_status_before_recv_trailing_metadata_started(config); |
| 386 |
retry_per_attempt_recv_timeout(config); |
| 387 |
retry_per_attempt_recv_timeout_on_last_attempt(config); |
| 388 |
retry_recv_initial_metadata(config); |
| 389 |
retry_recv_message(config); |
| 390 |
retry_recv_message_replay(config); |
| 391 |
retry_recv_trailing_metadata_error(config); |
| 392 |
retry_send_initial_metadata_refs(config); |
| 393 |
retry_send_op_fails(config); |
| 394 |
retry_send_recv_batch(config); |
| 395 |
retry_server_pushback_delay(config); |
| 396 |
retry_server_pushback_disabled(config); |
| 397 |
retry_streaming(config); |
| 398 |
retry_streaming_after_commit(config); |
| 399 |
retry_streaming_succeeds_before_replay_finished(config); |
| 400 |
retry_throttled(config); |
| 401 |
retry_too_many_attempts(config); |
| 402 |
retry_transparent_goaway(config); |
| 403 |
retry_transparent_max_concurrent_streams(config); |
| 404 |
retry_transparent_not_sent_on_wire(config); |
| 405 |
retry_unref_before_finish(config); |
| 406 |
retry_unref_before_recv(config); |
| 407 |
server_finishes_request(config); |
| 408 |
server_streaming(config); |
| 409 |
shutdown_finishes_calls(config); |
| 410 |
shutdown_finishes_tags(config); |
| 411 |
simple_delayed_request(config); |
| 412 |
simple_metadata(config); |
| 413 |
simple_request(config); |
| 414 |
streaming_error_response(config); |
| 415 |
trailing_metadata(config); |
| 416 |
write_buffering(config); |
| 417 |
write_buffering_at_end(config); |
| 418 |
return; |
| 419 |
} |
| 420 |
|
| 421 |
for (i = 1; i < argc; i++) { |
| 422 |
if (0 == strcmp("authority_not_supported", argv[i])) { |
| 423 |
authority_not_supported(config); |
| 424 |
continue; |
| 425 |
} |
| 426 |
if (0 == strcmp("bad_hostname", argv[i])) { |
| 427 |
bad_hostname(config); |
| 428 |
continue; |
| 429 |
} |
| 430 |
if (0 == strcmp("bad_ping", argv[i])) { |
| 431 |
bad_ping(config); |
| 432 |
continue; |
| 433 |
} |
| 434 |
if (0 == strcmp("binary_metadata", argv[i])) { |
| 435 |
binary_metadata(config); |
| 436 |
continue; |
| 437 |
} |
| 438 |
if (0 == strcmp("call_creds", argv[i])) { |
| 439 |
call_creds(config); |
| 440 |
continue; |
| 441 |
} |
| 442 |
if (0 == strcmp("call_host_override", argv[i])) { |
| 443 |
call_host_override(config); |
| 444 |
continue; |
| 445 |
} |
| 446 |
if (0 == strcmp("cancel_after_accept", argv[i])) { |
| 447 |
cancel_after_accept(config); |
| 448 |
continue; |
| 449 |
} |
| 450 |
if (0 == strcmp("cancel_after_client_done", argv[i])) { |
| 451 |
cancel_after_client_done(config); |
| 452 |
continue; |
| 453 |
} |
| 454 |
if (0 == strcmp("cancel_after_invoke", argv[i])) { |
| 455 |
cancel_after_invoke(config); |
| 456 |
continue; |
| 457 |
} |
| 458 |
if (0 == strcmp("cancel_after_round_trip", argv[i])) { |
| 459 |
cancel_after_round_trip(config); |
| 460 |
continue; |
| 461 |
} |
| 462 |
if (0 == strcmp("cancel_before_invoke", argv[i])) { |
| 463 |
cancel_before_invoke(config); |
| 464 |
continue; |
| 465 |
} |
| 466 |
if (0 == strcmp("cancel_in_a_vacuum", argv[i])) { |
| 467 |
cancel_in_a_vacuum(config); |
| 468 |
continue; |
| 469 |
} |
| 470 |
if (0 == strcmp("cancel_with_status", argv[i])) { |
| 471 |
cancel_with_status(config); |
| 472 |
continue; |
| 473 |
} |
| 474 |
if (0 == strcmp("channelz", argv[i])) { |
| 475 |
channelz(config); |
| 476 |
continue; |
| 477 |
} |
| 478 |
if (0 == strcmp("client_streaming", argv[i])) { |
| 479 |
client_streaming(config); |
| 480 |
continue; |
| 481 |
} |
| 482 |
if (0 == strcmp("compressed_payload", argv[i])) { |
| 483 |
compressed_payload(config); |
| 484 |
continue; |
| 485 |
} |
| 486 |
if (0 == strcmp("connectivity", argv[i])) { |
| 487 |
connectivity(config); |
| 488 |
continue; |
| 489 |
} |
| 490 |
if (0 == strcmp("default_host", argv[i])) { |
| 491 |
default_host(config); |
| 492 |
continue; |
| 493 |
} |
| 494 |
if (0 == strcmp("disappearing_server", argv[i])) { |
| 495 |
disappearing_server(config); |
| 496 |
continue; |
| 497 |
} |
| 498 |
if (0 == strcmp("empty_batch", argv[i])) { |
| 499 |
empty_batch(config); |
| 500 |
continue; |
| 501 |
} |
| 502 |
if (0 == strcmp("filter_causes_close", argv[i])) { |
| 503 |
filter_causes_close(config); |
| 504 |
continue; |
| 505 |
} |
| 506 |
if (0 == strcmp("filter_context", argv[i])) { |
| 507 |
filter_context(config); |
| 508 |
continue; |
| 509 |
} |
| 510 |
if (0 == strcmp("filter_init_fails", argv[i])) { |
| 511 |
filter_init_fails(config); |
| 512 |
continue; |
| 513 |
} |
| 514 |
if (0 == strcmp("filter_latency", argv[i])) { |
| 515 |
filter_latency(config); |
| 516 |
continue; |
| 517 |
} |
| 518 |
if (0 == strcmp("filter_status_code", argv[i])) { |
| 519 |
filter_status_code(config); |
| 520 |
continue; |
| 521 |
} |
| 522 |
if (0 == strcmp("filtered_metadata", argv[i])) { |
| 523 |
filtered_metadata(config); |
| 524 |
continue; |
| 525 |
} |
| 526 |
if (0 == strcmp("graceful_server_shutdown", argv[i])) { |
| 527 |
graceful_server_shutdown(config); |
| 528 |
continue; |
| 529 |
} |
| 530 |
if (0 == strcmp("grpc_authz", argv[i])) { |
| 531 |
grpc_authz(config); |
| 532 |
continue; |
| 533 |
} |
| 534 |
if (0 == strcmp("high_initial_seqno", argv[i])) { |
| 535 |
high_initial_seqno(config); |
| 536 |
continue; |
| 537 |
} |
| 538 |
if (0 == strcmp("hpack_size", argv[i])) { |
| 539 |
hpack_size(config); |
| 540 |
continue; |
| 541 |
} |
| 542 |
if (0 == strcmp("invoke_large_request", argv[i])) { |
| 543 |
invoke_large_request(config); |
| 544 |
continue; |
| 545 |
} |
| 546 |
if (0 == strcmp("keepalive_timeout", argv[i])) { |
| 547 |
keepalive_timeout(config); |
| 548 |
continue; |
| 549 |
} |
| 550 |
if (0 == strcmp("large_metadata", argv[i])) { |
| 551 |
large_metadata(config); |
| 552 |
continue; |
| 553 |
} |
| 554 |
if (0 == strcmp("max_concurrent_streams", argv[i])) { |
| 555 |
max_concurrent_streams(config); |
| 556 |
continue; |
| 557 |
} |
| 558 |
if (0 == strcmp("max_connection_age", argv[i])) { |
| 559 |
max_connection_age(config); |
| 560 |
continue; |
| 561 |
} |
| 562 |
if (0 == strcmp("max_connection_idle", argv[i])) { |
| 563 |
max_connection_idle(config); |
| 564 |
continue; |
| 565 |
} |
| 566 |
if (0 == strcmp("max_message_length", argv[i])) { |
| 567 |
max_message_length(config); |
| 568 |
continue; |
| 569 |
} |
| 570 |
if (0 == strcmp("negative_deadline", argv[i])) { |
| 571 |
negative_deadline(config); |
| 572 |
continue; |
| 573 |
} |
| 574 |
if (0 == strcmp("no_logging", argv[i])) { |
| 575 |
no_logging(config); |
| 576 |
continue; |
| 577 |
} |
| 578 |
if (0 == strcmp("no_op", argv[i])) { |
| 579 |
no_op(config); |
| 580 |
continue; |
| 581 |
} |
| 582 |
if (0 == strcmp("payload", argv[i])) { |
| 583 |
payload(config); |
| 584 |
continue; |
| 585 |
} |
| 586 |
if (0 == strcmp("ping", argv[i])) { |
| 587 |
ping(config); |
| 588 |
continue; |
| 589 |
} |
| 590 |
if (0 == strcmp("ping_pong_streaming", argv[i])) { |
| 591 |
ping_pong_streaming(config); |
| 592 |
continue; |
| 593 |
} |
| 594 |
if (0 == strcmp("proxy_auth", argv[i])) { |
| 595 |
proxy_auth(config); |
| 596 |
continue; |
| 597 |
} |
| 598 |
if (0 == strcmp("registered_call", argv[i])) { |
| 599 |
registered_call(config); |
| 600 |
continue; |
| 601 |
} |
| 602 |
if (0 == strcmp("request_with_flags", argv[i])) { |
| 603 |
request_with_flags(config); |
| 604 |
continue; |
| 605 |
} |
| 606 |
if (0 == strcmp("request_with_payload", argv[i])) { |
| 607 |
request_with_payload(config); |
| 608 |
continue; |
| 609 |
} |
| 610 |
if (0 == strcmp("resource_quota_server", argv[i])) { |
| 611 |
resource_quota_server(config); |
| 612 |
continue; |
| 613 |
} |
| 614 |
if (0 == strcmp("retry", argv[i])) { |
| 615 |
retry(config); |
| 616 |
continue; |
| 617 |
} |
| 618 |
if (0 == strcmp("retry_cancel_after_first_attempt_starts", argv[i])) { |
| 619 |
retry_cancel_after_first_attempt_starts(config); |
| 620 |
continue; |
| 621 |
} |
| 622 |
if (0 == strcmp("retry_cancel_during_delay", argv[i])) { |
| 623 |
retry_cancel_during_delay(config); |
| 624 |
continue; |
| 625 |
} |
| 626 |
if (0 == strcmp("retry_cancel_with_multiple_send_batches", argv[i])) { |
| 627 |
retry_cancel_with_multiple_send_batches(config); |
| 628 |
continue; |
| 629 |
} |
| 630 |
if (0 == strcmp("retry_cancellation", argv[i])) { |
| 631 |
retry_cancellation(config); |
| 632 |
continue; |
| 633 |
} |
| 634 |
if (0 == strcmp("retry_disabled", argv[i])) { |
| 635 |
retry_disabled(config); |
| 636 |
continue; |
| 637 |
} |
| 638 |
if (0 == strcmp("retry_exceeds_buffer_size_in_delay", argv[i])) { |
| 639 |
retry_exceeds_buffer_size_in_delay(config); |
| 640 |
continue; |
| 641 |
} |
| 642 |
if (0 == strcmp("retry_exceeds_buffer_size_in_initial_batch", argv[i])) { |
| 643 |
retry_exceeds_buffer_size_in_initial_batch(config); |
| 644 |
continue; |
| 645 |
} |
| 646 |
if (0 == strcmp("retry_exceeds_buffer_size_in_subsequent_batch", argv[i])) { |
| 647 |
retry_exceeds_buffer_size_in_subsequent_batch(config); |
| 648 |
continue; |
| 649 |
} |
| 650 |
if (0 == strcmp("retry_lb_drop", argv[i])) { |
| 651 |
retry_lb_drop(config); |
| 652 |
continue; |
| 653 |
} |
| 654 |
if (0 == strcmp("retry_lb_fail", argv[i])) { |
| 655 |
retry_lb_fail(config); |
| 656 |
continue; |
| 657 |
} |
| 658 |
if (0 == strcmp("retry_non_retriable_status", argv[i])) { |
| 659 |
retry_non_retriable_status(config); |
| 660 |
continue; |
| 661 |
} |
| 662 |
if (0 == strcmp("retry_non_retriable_status_before_recv_trailing_metadata_started", argv[i])) { |
| 663 |
retry_non_retriable_status_before_recv_trailing_metadata_started(config); |
| 664 |
continue; |
| 665 |
} |
| 666 |
if (0 == strcmp("retry_per_attempt_recv_timeout", argv[i])) { |
| 667 |
retry_per_attempt_recv_timeout(config); |
| 668 |
continue; |
| 669 |
} |
| 670 |
if (0 == strcmp("retry_per_attempt_recv_timeout_on_last_attempt", argv[i])) { |
| 671 |
retry_per_attempt_recv_timeout_on_last_attempt(config); |
| 672 |
continue; |
| 673 |
} |
| 674 |
if (0 == strcmp("retry_recv_initial_metadata", argv[i])) { |
| 675 |
retry_recv_initial_metadata(config); |
| 676 |
continue; |
| 677 |
} |
| 678 |
if (0 == strcmp("retry_recv_message", argv[i])) { |
| 679 |
retry_recv_message(config); |
| 680 |
continue; |
| 681 |
} |
| 682 |
if (0 == strcmp("retry_recv_message_replay", argv[i])) { |
| 683 |
retry_recv_message_replay(config); |
| 684 |
continue; |
| 685 |
} |
| 686 |
if (0 == strcmp("retry_recv_trailing_metadata_error", argv[i])) { |
| 687 |
retry_recv_trailing_metadata_error(config); |
| 688 |
continue; |
| 689 |
} |
| 690 |
if (0 == strcmp("retry_send_initial_metadata_refs", argv[i])) { |
| 691 |
retry_send_initial_metadata_refs(config); |
| 692 |
continue; |
| 693 |
} |
| 694 |
if (0 == strcmp("retry_send_op_fails", argv[i])) { |
| 695 |
retry_send_op_fails(config); |
| 696 |
continue; |
| 697 |
} |
| 698 |
if (0 == strcmp("retry_send_recv_batch", argv[i])) { |
| 699 |
retry_send_recv_batch(config); |
| 700 |
continue; |
| 701 |
} |
| 702 |
if (0 == strcmp("retry_server_pushback_delay", argv[i])) { |
| 703 |
retry_server_pushback_delay(config); |
| 704 |
continue; |
| 705 |
} |
| 706 |
if (0 == strcmp("retry_server_pushback_disabled", argv[i])) { |
| 707 |
retry_server_pushback_disabled(config); |
| 708 |
continue; |
| 709 |
} |
| 710 |
if (0 == strcmp("retry_streaming", argv[i])) { |
| 711 |
retry_streaming(config); |
| 712 |
continue; |
| 713 |
} |
| 714 |
if (0 == strcmp("retry_streaming_after_commit", argv[i])) { |
| 715 |
retry_streaming_after_commit(config); |
| 716 |
continue; |
| 717 |
} |
| 718 |
if (0 == strcmp("retry_streaming_succeeds_before_replay_finished", argv[i])) { |
| 719 |
retry_streaming_succeeds_before_replay_finished(config); |
| 720 |
continue; |
| 721 |
} |
| 722 |
if (0 == strcmp("retry_throttled", argv[i])) { |
| 723 |
retry_throttled(config); |
| 724 |
continue; |
| 725 |
} |
| 726 |
if (0 == strcmp("retry_too_many_attempts", argv[i])) { |
| 727 |
retry_too_many_attempts(config); |
| 728 |
continue; |
| 729 |
} |
| 730 |
if (0 == strcmp("retry_transparent_goaway", argv[i])) { |
| 731 |
retry_transparent_goaway(config); |
| 732 |
continue; |
| 733 |
} |
| 734 |
if (0 == strcmp("retry_transparent_max_concurrent_streams", argv[i])) { |
| 735 |
retry_transparent_max_concurrent_streams(config); |
| 736 |
continue; |
| 737 |
} |
| 738 |
if (0 == strcmp("retry_transparent_not_sent_on_wire", argv[i])) { |
| 739 |
retry_transparent_not_sent_on_wire(config); |
| 740 |
continue; |
| 741 |
} |
| 742 |
if (0 == strcmp("retry_unref_before_finish", argv[i])) { |
| 743 |
retry_unref_before_finish(config); |
| 744 |
continue; |
| 745 |
} |
| 746 |
if (0 == strcmp("retry_unref_before_recv", argv[i])) { |
| 747 |
retry_unref_before_recv(config); |
| 748 |
continue; |
| 749 |
} |
| 750 |
if (0 == strcmp("server_finishes_request", argv[i])) { |
| 751 |
server_finishes_request(config); |
| 752 |
continue; |
| 753 |
} |
| 754 |
if (0 == strcmp("server_streaming", argv[i])) { |
| 755 |
server_streaming(config); |
| 756 |
continue; |
| 757 |
} |
| 758 |
if (0 == strcmp("shutdown_finishes_calls", argv[i])) { |
| 759 |
shutdown_finishes_calls(config); |
| 760 |
continue; |
| 761 |
} |
| 762 |
if (0 == strcmp("shutdown_finishes_tags", argv[i])) { |
| 763 |
shutdown_finishes_tags(config); |
| 764 |
continue; |
| 765 |
} |
| 766 |
if (0 == strcmp("simple_delayed_request", argv[i])) { |
| 767 |
simple_delayed_request(config); |
| 768 |
continue; |
| 769 |
} |
| 770 |
if (0 == strcmp("simple_metadata", argv[i])) { |
| 771 |
simple_metadata(config); |
| 772 |
continue; |
| 773 |
} |
| 774 |
if (0 == strcmp("simple_request", argv[i])) { |
| 775 |
simple_request(config); |
| 776 |
continue; |
| 777 |
} |
| 778 |
if (0 == strcmp("streaming_error_response", argv[i])) { |
| 779 |
streaming_error_response(config); |
| 780 |
continue; |
| 781 |
} |
| 782 |
if (0 == strcmp("trailing_metadata", argv[i])) { |
| 783 |
trailing_metadata(config); |
| 784 |
continue; |
| 785 |
} |
| 786 |
if (0 == strcmp("write_buffering", argv[i])) { |
| 787 |
write_buffering(config); |
| 788 |
continue; |
| 789 |
} |
| 790 |
if (0 == strcmp("write_buffering_at_end", argv[i])) { |
| 791 |
write_buffering_at_end(config); |
| 792 |
continue; |
| 793 |
} |
| 794 |
gpr_log(GPR_DEBUG, "not a test: '%s'", argv[i]); |
| 795 |
abort(); |
| 796 |
} |
| 797 |
} |