Skip to content

Commit c9f73e6

Browse files
committed
update large file limit
1 parent 925c923 commit c9f73e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-promises-file-handle-readFile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async function validateReadFile() {
3737
}
3838

3939
async function validateLargeFileSupport() {
40-
const LARGE_FILE_SIZE = 3 * 1024 * 1024 * 1024; // 3 GiB
40+
const LARGE_FILE_SIZE = 2147483647 + 10 * 1024 * 1024; // INT32_MAX + 10 MB
4141
const FILE_PATH = path.join(os.tmpdir(), 'large-virtual-file.bin');
4242

4343
function createVirtualLargeFile() {

0 commit comments

Comments
 (0)