source4/torture/rpc/echo.c test no timeout
authorStefan Metzmacher <metze@samba.org>
Sat, 21 Sep 2013 00:59:36 +0000 (02:59 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 11:15:20 +0000 (13:15 +0200)
source4/torture/rpc/echo.c

index c4e82d09f06a2db282e6e84a148e7fdae0c075ba..e85e291a77d90d4972b2fc6dcc0528b2a48ecb4e 100644 (file)
@@ -465,6 +465,7 @@ static bool test_bytepipeout(struct torture_context *tctx,
 
        ZERO_STRUCT(chunk);
 
+       dcerpc_binding_handle_set_timeout(b, UINT32_MAX);
        subreq1 = dcerpc_echo_TestBytePipeOut_r_send(tctx, tctx->ev, b, &r);
        for (i=0; ; i++) {
                struct timeval tv = timeval_current_ofs(0, 100);