diff --git a/package.json b/package.json index 2a9ec19e25..3309a8a9ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "s3", - "version": "7.2.0", + "version": "7.4.0", "description": "S3 connector", "main": "index.js", "engines": { diff --git a/tests/functional/aws-node-sdk/test/multipleBackend/listParts/azureListParts.js b/tests/functional/aws-node-sdk/test/multipleBackend/listParts/azureListParts.js index 05075e96a5..ecd615b69c 100644 --- a/tests/functional/aws-node-sdk/test/multipleBackend/listParts/azureListParts.js +++ b/tests/functional/aws-node-sdk/test/multipleBackend/listParts/azureListParts.js @@ -6,8 +6,10 @@ const { describeSkipIfNotMultiple, azureLocation, getAzureContainerName } = require('../utils'); const azureContainerName = getAzureContainerName(azureLocation); -const bodyFirstPart = Buffer.alloc(10); -const bodySecondPart = Buffer.alloc(104857610); +const firstPartSize = 10; +const bodyFirstPart = Buffer.alloc(firstPartSize); +const secondPartSize = 15; +const bodySecondPart = Buffer.alloc(secondPartSize); let bucketUtil; let s3; @@ -67,10 +69,10 @@ describeSkipIfNotMultiple('List parts of MPU on Azure data backend', () => { assert.equal(err, null, `Err listing parts: ${err}`); assert.strictEqual(data.Parts.length, 2); assert.strictEqual(data.Parts[0].PartNumber, 1); - assert.strictEqual(data.Parts[0].Size, 10); + assert.strictEqual(data.Parts[0].Size, firstPartSize); assert.strictEqual(data.Parts[0].ETag, this.test.firstEtag); assert.strictEqual(data.Parts[1].PartNumber, 2); - assert.strictEqual(data.Parts[1].Size, 104857610); + assert.strictEqual(data.Parts[1].Size, secondPartSize); assert.strictEqual(data.Parts[1].ETag, this.test.secondEtag); done(); }); @@ -85,7 +87,7 @@ describeSkipIfNotMultiple('List parts of MPU on Azure data backend', () => { (err, data) => { assert.equal(err, null, `Err listing parts: ${err}`); assert.strictEqual(data.Parts[0].PartNumber, 2); - assert.strictEqual(data.Parts[0].Size, 104857610); + assert.strictEqual(data.Parts[0].Size, secondPartSize); assert.strictEqual(data.Parts[0].ETag, this.test.secondEtag); done(); });