Make debug output a bit clearer

pull/1888/head
Craig Tiller 10 years ago
parent ec3aa8915c
commit 9dcb58cbe6
  1. 3
      test/core/end2end/cq_verifier.c

@ -165,6 +165,9 @@ static void verify_matches(expectation *e, grpc_event *ev) {
static void expectation_to_strvec(gpr_strvec *buf, expectation *e) { static void expectation_to_strvec(gpr_strvec *buf, expectation *e) {
char *tmp; char *tmp;
gpr_asprintf(&tmp, "%p ", e->tag);
gpr_strvec_add(buf, tmp);
switch (e->type) { switch (e->type) {
case GRPC_OP_COMPLETE: case GRPC_OP_COMPLETE:
gpr_asprintf(&tmp, "GRPC_OP_COMPLETE result=%d", e->success); gpr_asprintf(&tmp, "GRPC_OP_COMPLETE result=%d", e->success);

Loading…
Cancel
Save