mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
ee9499bc68
commit
e9b0afb337
|
@ -91,8 +91,7 @@ func TestDbfsClientForLargerFiles(t *testing.T) {
|
||||||
// write file to local disk
|
// write file to local disk
|
||||||
tmp := t.TempDir()
|
tmp := t.TempDir()
|
||||||
localPath := filepath.Join(tmp, "hello.txt")
|
localPath := filepath.Join(tmp, "hello.txt")
|
||||||
err := os.WriteFile(localPath, []byte("hello world"), 0o644)
|
testutil.WriteFile(t, localPath, "hello world")
|
||||||
require.NoError(t, err)
|
|
||||||
|
|
||||||
// Modify the max file size to 1 byte to simulate
|
// Modify the max file size to 1 byte to simulate
|
||||||
// a large file that needs to be uploaded in chunks.
|
// a large file that needs to be uploaded in chunks.
|
||||||
|
|
Loading…
Reference in New Issue