diff options
author | Craig Tiller <ctiller@google.com> | 2016-06-09 16:16:58 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-06-09 16:16:58 -0700 |
commit | 3c63c8fda0f67cf792f6be601f1c74eaa4e6d2f1 (patch) | |
tree | a27f32ea34a25068806d342fd3e07d98977fba46 /test | |
parent | 161f76304ed6c5198019e8188fddef7db92f4efb (diff) |
Update new fixture
Diffstat (limited to 'test')
-rw-r--r-- | test/core/end2end/fixtures/h2_fd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/fixtures/h2_fd.c b/test/core/end2end/fixtures/h2_fd.c index e938fe7730..89fa02517d 100644 --- a/test/core/end2end/fixtures/h2_fd.c +++ b/test/core/end2end/fixtures/h2_fd.c @@ -54,8 +54,8 @@ static void create_sockets(int sv[2]) { GPR_ASSERT(fcntl(sv[0], F_SETFL, flags | O_NONBLOCK) == 0); flags = fcntl(sv[1], F_GETFL, 0); GPR_ASSERT(fcntl(sv[1], F_SETFL, flags | O_NONBLOCK) == 0); - GPR_ASSERT(grpc_set_socket_no_sigpipe_if_possible(sv[0])); - GPR_ASSERT(grpc_set_socket_no_sigpipe_if_possible(sv[1])); + GPR_ASSERT(grpc_set_socket_no_sigpipe_if_possible(sv[0]) == GRPC_ERROR_NONE); + GPR_ASSERT(grpc_set_socket_no_sigpipe_if_possible(sv[1]) == GRPC_ERROR_NONE); } static grpc_end2end_test_fixture chttp2_create_fixture_socketpair( |