Skip to content

Commit

Permalink
Merge branch 'improvement/BB-587-retry-on-s3-errors' into tmp/octopus…
Browse files Browse the repository at this point in the history
…/w/8.7/improvement/BB-587-retry-on-s3-errors
  • Loading branch information
bert-e committed Jul 22, 2024
2 parents 9028705 + 7915643 commit aba38ed
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/unit/gc/GarbageCollectorTask.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,12 @@ describe('GarbageCollectorTask', () => {
})
.setAttribute('serviceName', 'lifecycle-expiration')
.setAttribute('target', {
bucket: bucket,
bucket,
key: version,
version: key,
accountId: accountId,
owner: owner,
locations: [{
accountId,
owner,
locations: [{
key: 'locationKey',
dataStoreName: 'dataStoreName',
size: 'size',
Expand Down Expand Up @@ -328,12 +328,12 @@ describe('GarbageCollectorTask', () => {
})
.setAttribute('serviceName', 'lifecycle-expiration')
.setAttribute('target', {
bucket: bucket,
bucket,
key: version,
version: key,
accountId: accountId,
owner: owner,
locations: [{
accountId,
owner,
locations: [{
key: 'locationKey',
dataStoreName: 'dataStoreName',
size: 'size',
Expand All @@ -348,7 +348,7 @@ describe('GarbageCollectorTask', () => {

const batchDeleteDataSpy = sinon.spy(gcTask, '_batchDeleteData');

gcTask.processActionEntry(entry, (err) => {
gcTask.processActionEntry(entry, err => {
assert.strictEqual(batchDeleteDataSpy.callCount, 3);
assert.strictEqual(err.statusCode, 500);
batchDeleteDataSpy.restore();
Expand Down

0 comments on commit aba38ed

Please sign in to comment.