source4/torture/rpc/echo.c test no timeout
authorStefan Metzmacher <metze@samba.org>
Sat, 21 Sep 2013 00:59:36 +0000 (02:59 +0200)
committerMatthieu Patou <mat@matws.net>
Fri, 3 Oct 2014 19:16:39 +0000 (12:16 -0700)
source4/torture/rpc/echo.c

index 8929d0ce78da8800e001228766f7cafbf2e4fdf1..5192326b2e9c5b01edcd4bd8ecf619b42c433902 100644 (file)
@@ -448,6 +448,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);