diff --git a/test/fixtures/person.jpg b/test/fixtures/person.jpg index 4f71881c5584d8..96d46888d76c19 100644 Binary files a/test/fixtures/person.jpg and b/test/fixtures/person.jpg differ diff --git a/test/fixtures/person.jpg.gz b/test/fixtures/person.jpg.gz index 71788ed1cb97c5..0d3239a3c84229 100644 Binary files a/test/fixtures/person.jpg.gz and b/test/fixtures/person.jpg.gz differ diff --git a/test/parallel/test-zlib-params.js b/test/parallel/test-zlib-params.js index f349c8dbd0afec..d745a5456a2f7a 100644 --- a/test/parallel/test-zlib-params.js +++ b/test/parallel/test-zlib-params.js @@ -6,13 +6,13 @@ var path = require('path'); var fs = require('fs'); var file = fs.readFileSync(path.resolve(common.fixturesDir, 'person.jpg')), - chunkSize = 24 * 1024, + chunkSize = 12 * 1024, opts = { level: 9, strategy: zlib.Z_DEFAULT_STRATEGY }, deflater = zlib.createDeflate(opts); var chunk1 = file.slice(0, chunkSize), chunk2 = file.slice(chunkSize), - blkhdr = new Buffer([0x00, 0x48, 0x82, 0xb7, 0x7d]), + blkhdr = new Buffer([0x00, 0x5a, 0x82, 0xa5, 0x7d]), expected = Buffer.concat([blkhdr, chunk2]), actual;