Compare commits

...

6 Commits

Author SHA1 Message Date
Dora Korpar 268044f540 [squash] 2100 2020-10-23 14:45:51 -07:00
Dora Korpar cf78c5e3e5 [squash] 2000 2020-10-23 12:37:22 -07:00
Dora Korpar 6c1d0752c3 [squash] increase slightly 2020-10-23 09:37:27 -07:00
Dora Korpar d423209675 [squash] decrease max header size 2020-10-22 17:17:55 -07:00
Dora Korpar ff44a577c6 [squash] fix timeout 2020-10-13 15:25:32 -07:00
Dora Korpar 4f282fb990 increase large obj copy timeout 2020-10-13 11:36:00 -07:00
2 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ const constants = {
// AWS states max size for user-defined metadata (x-amz-meta- headers) is // AWS states max size for user-defined metadata (x-amz-meta- headers) is
// 2 KB: http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html // 2 KB: http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html
// In testing, AWS seems to allow up to 88 more bytes, so we do the same. // In testing, AWS seems to allow up to 88 more bytes, so we do the same.
maximumMetaHeadersSize: 2136, maximumMetaHeadersSize: 2100,
// hex digest of sha256 hash of empty string: // hex digest of sha256 hash of empty string:
emptyStringHash: crypto.createHash('sha256') emptyStringHash: crypto.createHash('sha256')

View File

@ -368,7 +368,7 @@ describe('Object Copy', () => {
done(); done();
}); });
}); });
}); }).timeout(60000);
it('should return error if copying object w/ > 2KB ' + it('should return error if copying object w/ > 2KB ' +
'user-defined md and REPLACE directive', 'user-defined md and REPLACE directive',
@ -392,7 +392,7 @@ describe('Object Copy', () => {
done(); done();
}); });
}); });
}); }).timeout(60000);
it('should copy an object from a source to the same destination ' + it('should copy an object from a source to the same destination ' +
'(update metadata)', done => { '(update metadata)', done => {