diff options
author | 2016-12-06 20:23:13 -0800 | |
---|---|---|
committer | 2016-12-06 20:23:13 -0800 | |
commit | 35769dc29c5fd55ccaf8a234d8704fe7dd7c7fdb (patch) | |
tree | 73ceacb8b27e20b189c8c5736378dff695f950b9 /test/core/end2end/tests/simple_delayed_request.c | |
parent | ebffb4b8231ee397b9415966a6e76c99099fe3c2 (diff) | |
parent | fede4d4198c5d211b8042d29a6f86ff7cafcf666 (diff) |
Merge branch 'slice_with_exec_ctx' into slice_interning
Diffstat (limited to 'test/core/end2end/tests/simple_delayed_request.c')
-rw-r--r-- | test/core/end2end/tests/simple_delayed_request.c | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/test/core/end2end/tests/simple_delayed_request.c b/test/core/end2end/tests/simple_delayed_request.c index ec40c8f22d..414a03d98b 100644 --- a/test/core/end2end/tests/simple_delayed_request.c +++ b/test/core/end2end/tests/simple_delayed_request.c @@ -200,21 +200,36 @@ static void simple_delayed_request_body(grpc_end2end_test_config config, static void test_simple_delayed_request_short(grpc_end2end_test_config config) { grpc_end2end_test_fixture f; + grpc_channel_args client_args; + grpc_arg arg_array[1]; + arg_array[0].type = GRPC_ARG_INTEGER; + arg_array[0].key = "grpc.testing.fixed_reconnect_backoff_ms"; + arg_array[0].value.integer = 1000; + client_args.args = arg_array; + client_args.num_args = 1; gpr_log(GPR_INFO, "%s/%s", "test_simple_delayed_request_short", config.name); f = config.create_fixture(NULL, NULL); - simple_delayed_request_body(config, &f, NULL, NULL, 100000); + + simple_delayed_request_body(config, &f, &client_args, NULL, 100000); end_test(&f); config.tear_down_data(&f); } static void test_simple_delayed_request_long(grpc_end2end_test_config config) { grpc_end2end_test_fixture f; + grpc_channel_args client_args; + grpc_arg arg_array[1]; + arg_array[0].type = GRPC_ARG_INTEGER; + arg_array[0].key = "grpc.testing.fixed_reconnect_backoff_ms"; + arg_array[0].value.integer = 1000; + client_args.args = arg_array; + client_args.num_args = 1; gpr_log(GPR_INFO, "%s/%s", "test_simple_delayed_request_long", config.name); f = config.create_fixture(NULL, NULL); /* This timeout should be longer than a single retry */ - simple_delayed_request_body(config, &f, NULL, NULL, 1500000); + simple_delayed_request_body(config, &f, &client_args, NULL, 1500000); end_test(&f); config.tear_down_data(&f); } |