summaryrefslogtreecommitdiffhomepage
path: root/pkg/lisafs/testsuite/testsuite.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/lisafs/testsuite/testsuite.go')
-rw-r--r--pkg/lisafs/testsuite/testsuite.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/lisafs/testsuite/testsuite.go b/pkg/lisafs/testsuite/testsuite.go
index 476ff76a5..5fc7c364d 100644
--- a/pkg/lisafs/testsuite/testsuite.go
+++ b/pkg/lisafs/testsuite/testsuite.go
@@ -330,8 +330,8 @@ func testRegularFileIO(ctx context.Context, t *testing.T, tester Tester, root li
defer closeFD(ctx, t, fd)
defer unix.Close(hostFD)
- // Test Read/Write RPCs.
- data := make([]byte, 100)
+ // Test Read/Write RPCs with 2MB of data to test IO in chunks.
+ data := make([]byte, 1<<21)
rand.Read(data)
if err := writeFD(ctx, t, fd, 0, data); err != nil {
t.Fatalf("write failed: %v", err)