This commit is contained in:
Shreyas Goenka 2025-01-03 00:03:16 +05:30
parent ee9499bc68
commit e9b0afb337
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 2 deletions

View File

@ -91,8 +91,7 @@ func TestDbfsClientForLargerFiles(t *testing.T) {
// write file to local disk
tmp := t.TempDir()
localPath := filepath.Join(tmp, "hello.txt")
err := os.WriteFile(localPath, []byte("hello world"), 0o644)
require.NoError(t, err)
testutil.WriteFile(t, localPath, "hello world")
// Modify the max file size to 1 byte to simulate
// a large file that needs to be uploaded in chunks.