diff options
author | Mark D. Roth <roth@google.com> | 2016-11-10 10:10:56 -0800 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-11-10 10:10:56 -0800 |
commit | 69f783dffcb94625f503a7af35fd460b83c2fd40 (patch) | |
tree | d095ae318fd891119174d2c629be909638e19e56 /test/core/client_channel | |
parent | c19049c39d151150d1947256a8d4a477bea16927 (diff) |
Allow LB policy name to be matched in a case-insensitive manner.
Diffstat (limited to 'test/core/client_channel')
-rw-r--r-- | test/core/client_channel/lb_policies_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/client_channel/lb_policies_test.c b/test/core/client_channel/lb_policies_test.c index 3aba906094..b9bd637d35 100644 --- a/test/core/client_channel/lb_policies_test.c +++ b/test/core/client_channel/lb_policies_test.c @@ -554,7 +554,7 @@ static grpc_channel *create_client(const servers_fixture *f) { arg_array[0].value.integer = RETRY_TIMEOUT; arg_array[1].type = GRPC_ARG_STRING; arg_array[1].key = GRPC_ARG_LB_POLICY_NAME; - arg_array[1].value.string = "round_robin"; + arg_array[1].value.string = "ROUND_ROBIN"; args.num_args = 2; args.args = arg_array; @@ -669,7 +669,7 @@ static void test_get_channel_info() { grpc_arg arg; arg.type = GRPC_ARG_STRING; arg.key = GRPC_ARG_SERVICE_CONFIG; - arg.value.string = "{\"lb_policy_name\": \"round_robin\"}"; + arg.value.string = "{\"loadBalancingPolicy\": \"ROUND_ROBIN\"}"; grpc_channel_args *args = grpc_channel_args_copy_and_add(NULL, &arg, 1); channel = grpc_insecure_channel_create("ipv4:127.0.0.1:1234", args, NULL); grpc_channel_args_destroy(args); |