From 5340111aa6650e685f5f4ef156271f0731834674 Mon Sep 17 00:00:00 2001 From: Soheil Hassas Yeganeh Date: Fri, 11 Oct 2019 13:20:18 -0400 Subject: [PATCH] Fix sanity check. --- test/cpp/qps/driver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc index a5d913ca911..c37529ea274 100644 --- a/test/cpp/qps/driver.cc +++ b/test/cpp/qps/driver.cc @@ -118,7 +118,7 @@ static double ServerIdleCpuTime(const ServerStats& s) { } static int Cores(int n) { return n; } -static bool IsSuccess(Status s) { +static bool IsSuccess(const Status& s) { if (s.ok()) return true; // Since we shutdown servers and clients at the same time, they both can // observe cancellation. Thus, we consider CANCELLED as good status.