Update some tests.

pull/7991/head
Mark D. Roth 8 years ago
parent aeba8793e4
commit a587b41369
  1. 1
      test/core/client_config/resolvers/dns_resolver_connectivity_test.c
  2. 1
      test/core/end2end/fuzzers/api_fuzzer.c
  3. 1
      test/core/iomgr/resolve_address_test.c

@ -81,7 +81,6 @@ static grpc_error *my_resolve_address(const char *name, const char *addr,
(*addrs)->naddrs = 1;
(*addrs)->addrs = gpr_malloc(sizeof(*(*addrs)->addrs));
(*addrs)->addrs[0].len = 123;
(*addrs)->addrs[0].is_balancer = false;
return GRPC_ERROR_NONE;
}
}

@ -200,7 +200,6 @@ static void finish_resolve(grpc_exec_ctx *exec_ctx, void *arg,
addrs->naddrs = 1;
addrs->addrs = gpr_malloc(sizeof(*addrs->addrs));
addrs->addrs[0].len = 0;
addrs->addrs[0].is_balancer = false;
*r->addrs = addrs;
grpc_exec_ctx_sched(exec_ctx, r->on_done, GRPC_ERROR_NONE, NULL);
} else {

@ -63,7 +63,6 @@ static void must_succeed(grpc_exec_ctx *exec_ctx, void *argsp,
GPR_ASSERT(err == GRPC_ERROR_NONE);
GPR_ASSERT(args->addrs != NULL);
GPR_ASSERT(args->addrs->naddrs > 0);
GPR_ASSERT(args->addrs->is_balancer == false);
gpr_event_set(&args->ev, (void *)1);
}

Loading…
Cancel
Save