s4-torture: increase various bufsizes to better deal with Windows 2019 clusters
authorGünther Deschner <gd@samba.org>
Thu, 16 Jan 2020 13:38:56 +0000 (14:38 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 16 Jan 2020 20:09:42 +0000 (20:09 +0000)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/rpc/clusapi.c

index eb774228f384c397f1f26ceade5689af3f7dc4f4..99a272daf24b212de12ec8d136dba3f5f101d9d0 100644 (file)
@@ -1212,7 +1212,7 @@ static bool test_ResourceTypeControl_int(struct torture_context *tctx,
        /* now try what happens when we query with a buffer large enough to hold
         * the entire packet */
 
-       r.in.nOutBufferSize = 0x400;
+       r.in.nOutBufferSize = 0x4000;
        r.out.lpOutBuffer = talloc_zero_array(tctx, uint8_t, r.in.nOutBufferSize);
 
        torture_assert_ntstatus_ok(tctx,
@@ -1644,7 +1644,7 @@ static bool test_NodeControl_int(struct torture_context *tctx,
        /* now try what happens when we query with a buffer large enough to hold
         * the entire packet */
 
-       r.in.nOutBufferSize = 0x400;
+       r.in.nOutBufferSize = 0x4000;
        r.out.lpOutBuffer = talloc_zero_array(tctx, uint8_t, r.in.nOutBufferSize);
 
        torture_assert_ntstatus_ok(tctx,
@@ -3409,7 +3409,7 @@ static bool test_EnumValue_int(struct torture_context *tctx,
        int i = 0;
 
        do {
-               uint32_t lpcbData = 1024;
+               uint32_t lpcbData = 2048;
 
                r.in.hKey = *hKey;
                r.in.dwIndex = i++;