From 98ae48d63c5ed93157f8bf797c87a156834069ee Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Mon, 27 Apr 2015 11:18:22 -0700 Subject: Ignore SIGPIPE --- test/cpp/qps/smoke_test.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/cpp/qps/smoke_test.cc b/test/cpp/qps/smoke_test.cc index e390730832..2c60a9997c 100644 --- a/test/cpp/qps/smoke_test.cc +++ b/test/cpp/qps/smoke_test.cc @@ -33,6 +33,8 @@ #include +#include + #include "test/cpp/qps/driver.h" #include "test/cpp/qps/report.h" @@ -136,6 +138,7 @@ static void RunQPS() { } // namespace grpc int main(int argc, char** argv) { + signal(SIGPIPE, SIG_IGN); using namespace grpc::testing; RunSynchronousStreamingPingPong(); RunSynchronousUnaryPingPong(); -- cgit v1.2.3