(uploadId, key, cb)
| 257 | } |
| 258 | |
| 259 | function putParts(uploadId, key, cb) { |
| 260 | const putPartParam1 = getPartParams(key, uploadId, 1); |
| 261 | const partRequest = new DummyRequest(putPartParam1, bigBody); |
| 262 | objectPutPart(authInfo, partRequest, undefined, log, err => { |
| 263 | assert.equal(err, null, `Error putting part: ${err}`); |
| 264 | const putPartParam2 = getPartParams(key, uploadId, 2); |
| 265 | const partRequest2 = new DummyRequest(putPartParam2, smallBody); |
| 266 | objectPutPart(authInfo, partRequest2, undefined, log, err => { |
| 267 | assert.equal(err, null, `Error putting part: ${err}`); |
| 268 | cb(); |
| 269 | }); |
| 270 | }); |
| 271 | } |
| 272 | |
| 273 | function mpuSetup(location, key, cb) { |
| 274 | const initiateRequest = { |
no test coverage detected