diff --git a/test/sequential/test-buffer-creation-regression.js b/test/sequential/test-buffer-creation-regression.js index b5c8450e03..8137e4830a 100644 --- a/test/sequential/test-buffer-creation-regression.js +++ b/test/sequential/test-buffer-creation-regression.js @@ -20,9 +20,9 @@ const acceptableOOMErrors = [ 'Invalid array buffer length' ]; -const size = 8589934592; /* 1 << 33 */ -const offset = 4294967296; /* 1 << 32 */ const length = 1000; +const offset = 4294967296; /* 1 << 32 */ +const size = offset + length; let arrayBuffer; try {