Fix the bug of cq_maybe_expect_completion

pull/25134/head
Esun Kim 4 years ago
parent 0db0ab052d
commit 985c8ff3b2
  1. 6
      test/core/end2end/cq_verifier.cc

@ -304,9 +304,9 @@ void cq_verify_empty_timeout(cq_verifier* v, int timeout_sec) {
void cq_verify_empty(cq_verifier* v) { cq_verify_empty_timeout(v, 1); }
void cq_maybe_expect_completion(cq_verifier* v, const char* file, int line,
void* tag, bool /*success*/, bool* seen) {
v->maybe_expectations.emplace_back(file, line, GRPC_OP_COMPLETE, tag, true,
true, seen);
void* tag, bool success, bool* seen) {
v->maybe_expectations.emplace_back(file, line, GRPC_OP_COMPLETE, tag,
true /* check_success */, success, seen);
}
static void add(cq_verifier* v, const char* file, int line,

Loading…
Cancel
Save