diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-05-01 08:59:59 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-05-01 08:59:59 -0700 |
commit | ff1ad1308edd7f790ea3c6644b7254af79f58787 (patch) | |
tree | 52150625c380335ba1d6d3caa9226b4cb2da8efd | |
parent | 9da3be5112fb68e43f38c63b52817acb93c6f3be (diff) |
Stopgap fix for fling_stream_test timing out
-rw-r--r-- | test/core/fling/server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/fling/server.c b/test/core/fling/server.c index ca39cd84b1..1785461383 100644 --- a/test/core/fling/server.c +++ b/test/core/fling/server.c @@ -39,6 +39,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> +#include <unistd.h> #include "test/core/util/grpc_profiler.h" #include "test/core/util/test_config.h" @@ -165,7 +166,7 @@ static void start_send_status(void) { tag(FLING_SERVER_SEND_STATUS_FOR_STREAMING))); } -static void sigint_handler(int x) { got_sigint = 1; } +static void sigint_handler(int x) { _exit(0); } int main(int argc, char **argv) { grpc_event *ev; |