Fix sanity check.

pull/20577/head
Soheil Hassas Yeganeh 5 years ago
parent a7aa9cf9ac
commit 5340111aa6
  1. 2
      test/cpp/qps/driver.cc

@ -118,7 +118,7 @@ static double ServerIdleCpuTime(const ServerStats& s) {
} }
static int Cores(int n) { return n; } static int Cores(int n) { return n; }
static bool IsSuccess(Status s) { static bool IsSuccess(const Status& s) {
if (s.ok()) return true; if (s.ok()) return true;
// Since we shutdown servers and clients at the same time, they both can // Since we shutdown servers and clients at the same time, they both can
// observe cancellation. Thus, we consider CANCELLED as good status. // observe cancellation. Thus, we consider CANCELLED as good status.

Loading…
Cancel
Save