Merge pull request #584 from ctiller/chex2

Spam cleanup, test speedup
pull/589/head
Nicolas Noble 10 years ago
commit bac5c7ca68
  1. 1
      src/core/surface/call.c
  2. 2
      src/core/transport/chttp2_transport.c
  3. 2
      test/core/transport/metadata_test.c

@ -313,7 +313,6 @@ static void set_status_code(grpc_call *call, status_source source,
}
if (flush && !grpc_bbq_empty(&call->incoming_queue)) {
gpr_log(GPR_ERROR, "Flushing unread messages due to error status %d", status);
grpc_bbq_flush(&call->incoming_queue);
}
}

@ -1025,8 +1025,6 @@ static void cancel_stream_inner(transport *t, stream *s, gpr_uint32 id,
int had_outgoing;
char buffer[GPR_LTOA_MIN_BUFSIZE];
gpr_log(GPR_DEBUG, "cancel %d", id);
if (s) {
/* clear out any unreported input & output: nobody cares anymore */
had_outgoing = s->outgoing_sopb.nops != 0;

@ -44,7 +44,7 @@
#define LOG_TEST() gpr_log(GPR_INFO, "%s", __FUNCTION__)
/* a large number */
#define MANY 100000
#define MANY 10000
static void test_no_op(void) {
grpc_mdctx *ctx;

Loading…
Cancel
Save