diff options
author | 2017-02-16 16:36:15 -0800 | |
---|---|---|
committer | 2017-02-16 16:36:15 -0800 | |
commit | 9596d6b1120ab3a53cbbecfbb15b8551dff5902b (patch) | |
tree | f94ec5c4b682fb3518dba81eccebb0fc58d03eb6 /test/core/transport/connectivity_state_test.c | |
parent | 69c0437e7558795a2badb6b7ca5222820d2f098f (diff) | |
parent | 9e5ac1bf115a182c0418f21d60d15245af6307bf (diff) |
Merge pull request #9660 from ctiller/c3
Convert client_channel.c to use a combiner lock
Diffstat (limited to 'test/core/transport/connectivity_state_test.c')
-rw-r--r-- | test/core/transport/connectivity_state_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/transport/connectivity_state_test.c b/test/core/transport/connectivity_state_test.c index 3520ef0a80..8314a5f619 100644 --- a/test/core/transport/connectivity_state_test.c +++ b/test/core/transport/connectivity_state_test.c @@ -77,8 +77,9 @@ static void test_check(void) { grpc_error *error; gpr_log(GPR_DEBUG, "test_check"); grpc_connectivity_state_init(&tracker, GRPC_CHANNEL_IDLE, "xxx"); - GPR_ASSERT(grpc_connectivity_state_check(&tracker, &error) == + GPR_ASSERT(grpc_connectivity_state_get(&tracker, &error) == GRPC_CHANNEL_IDLE); + GPR_ASSERT(grpc_connectivity_state_check(&tracker) == GRPC_CHANNEL_IDLE); GPR_ASSERT(error == GRPC_ERROR_NONE); grpc_connectivity_state_destroy(&exec_ctx, &tracker); grpc_exec_ctx_finish(&exec_ctx); |