test_bytepipeout 100 * 0x80000
authorStefan Metzmacher <metze@samba.org>
Sat, 21 Sep 2013 10:32:40 +0000 (12:32 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 11:15:20 +0000 (13:15 +0200)
source4/torture/rpc/echo.c

index e85e291a77d90d4972b2fc6dcc0528b2a48ecb4e..b5572f0a1d22e095275ef248c080e6d3713824b5 100644 (file)
@@ -453,14 +453,13 @@ static bool test_bytepipeout(struct torture_context *tctx,
        struct tevent_req *subreq1;
        struct tevent_req *subreq2;
        size_t i;
-       uint8_t bytes[0x8];
        NTSTATUS status;
 
        out_pipe = dcerpc_echo_BytePipe_create(tctx);
 
        ZERO_STRUCT(r);
-       r.in.num_chunks = 1;
-       r.in.chunk_size = sizeof(bytes);
+       r.in.num_chunks = 100;
+       r.in.chunk_size = 0x80000;
        r.out.out_pipe = out_pipe;
 
        ZERO_STRUCT(chunk);