diff options
author | ncteisen <ncteisen@gmail.com> | 2018-10-14 19:55:56 -0400 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-10-14 19:55:56 -0400 |
commit | d9e21e980f58483b0151540e20b3cfe2ff776a6f (patch) | |
tree | 71184bda27fd0c176ae6bae6efbd6ed740c8ffd9 /test/core/end2end | |
parent | afe56fd849cbbd476e2982ca2f921d18250007c7 (diff) |
reviewer feedback
Diffstat (limited to 'test/core/end2end')
-rw-r--r-- | test/core/end2end/tests/channelz.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/core/end2end/tests/channelz.cc b/test/core/end2end/tests/channelz.cc index b0ffe7ccb8..a812994435 100644 --- a/test/core/end2end/tests/channelz.cc +++ b/test/core/end2end/tests/channelz.cc @@ -199,11 +199,12 @@ static void run_one_request(grpc_end2end_test_config config, static void test_channelz(grpc_end2end_test_config config) { grpc_end2end_test_fixture f; - grpc_arg arg[2]; - arg[0] = grpc_channel_arg_integer_create( - const_cast<char*>(GRPC_ARG_MAX_CHANNEL_TRACE_EVENT_MEMORY_PER_NODE), 0); - arg[1] = grpc_channel_arg_integer_create( - const_cast<char*>(GRPC_ARG_ENABLE_CHANNELZ), true); + grpc_arg arg[] = { + grpc_channel_arg_integer_create( + const_cast<char*>(GRPC_ARG_MAX_CHANNEL_TRACE_EVENT_MEMORY_PER_NODE), + 0), + grpc_channel_arg_integer_create( + const_cast<char*>(GRPC_ARG_ENABLE_CHANNELZ), true)}; grpc_channel_args args = {GPR_ARRAY_SIZE(arg), arg}; f = begin_test(config, "test_channelz", &args, &args); |