Merge pull request #21631 from overleaf/jpa-live-s3

[object-persistor] s3SSEC: make compatible with AWS S3

GitOrigin-RevId: 3cd1f5ec43141f15defe081fc916d2ca2d78ca01
This commit is contained in:
Jakob Ackermann
2024-11-08 09:06:55 +00:00
committed by Copybot
parent d5478c11ea
commit 65dc6bf940
3 changed files with 40 additions and 1 deletions
@@ -467,6 +467,7 @@ describe('Filestore', function () {
})
describe('with a large file', function () {
this.timeout(1000 * 20)
let fileId, fileUrl, largeFileContent, error
beforeEach('upload large file', async function () {
@@ -1221,6 +1222,8 @@ describe('Filestore', function () {
for (const { name, prev, cur, fail } of stages) {
describe(name, function () {
this.timeout(1000 * 30)
it('can read old writes', async function () {
await checkWrites(fileKey1, prev, [prev, cur], fail)
await checkWrites(fileKey2, prev, [prev, cur], fail) // check again after access