aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/client_channel/resolvers/dns_resolver_connectivity_test.c
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@gmail.com>2017-03-22 18:48:00 -0700
committerGravatar GitHub <noreply@github.com>2017-03-22 18:48:00 -0700
commit55837563c94cb78ba9d0ee5ee75f3be35cdd415b (patch)
treeab27568840f0ccf1a48b03b496cb18b565d0f854 /test/core/client_channel/resolvers/dns_resolver_connectivity_test.c
parent48fda550acc5edd7785d5b58169d2e3868fbf42a (diff)
parent3d194ad7a3efbb2ba159f021b9692f8b2dec9f88 (diff)
Merge pull request #10109 from ncteisen/error-slice-optimization
Error slice optimization
Diffstat (limited to 'test/core/client_channel/resolvers/dns_resolver_connectivity_test.c')
-rw-r--r--test/core/client_channel/resolvers/dns_resolver_connectivity_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/client_channel/resolvers/dns_resolver_connectivity_test.c b/test/core/client_channel/resolvers/dns_resolver_connectivity_test.c
index 187757d5b3..b85ca89337 100644
--- a/test/core/client_channel/resolvers/dns_resolver_connectivity_test.c
+++ b/test/core/client_channel/resolvers/dns_resolver_connectivity_test.c
@@ -55,7 +55,7 @@ static grpc_error *my_resolve_address(const char *name, const char *addr,
if (g_fail_resolution) {
g_fail_resolution = false;
gpr_mu_unlock(&g_mu);
- return GRPC_ERROR_CREATE("Forced Failure");
+ return GRPC_ERROR_CREATE_FROM_STATIC_STRING("Forced Failure");
} else {
gpr_mu_unlock(&g_mu);
*addrs = gpr_malloc(sizeof(**addrs));