Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Dec 2, 2024
1 parent 31b3024 commit ba06c51
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/multipleBackend/routes/routeBackbeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ describe('backbeat routes', () => {
.then(() => s3.deleteBucket({ Bucket: TEST_ENCRYPTED_BUCKET }).promise())
.then(() => bucketUtil.empty(NONVERSIONED_BUCKET))
.then(() => s3.deleteBucket({ Bucket: NONVERSIONED_BUCKET }).promise())
.then(() => done())
.catch(done)
);

describe('null version', () => {
Expand All @@ -294,11 +296,15 @@ describe('backbeat routes', () => {
beforeEach(done =>
bucketUtil.emptyIfExists(BUCKET_FOR_NULL_VERSION)
.then(() => s3.createBucket({ Bucket: BUCKET_FOR_NULL_VERSION }).promise())
.then(() => done())
.catch(done)
);

afterEach(done =>
bucketUtil.empty(BUCKET_FOR_NULL_VERSION)
.then(() => s3.deleteBucket({ Bucket: BUCKET_FOR_NULL_VERSION }).promise())
.then(() => done())
.catch(done)
);

it('should update metadata of a current null version', done => {
Expand Down

0 comments on commit ba06c51

Please sign in to comment.