Skip to content

Commit

Permalink
Merge branch 'w/8.6/improvement/BB-434/newerNoncurrentVersions' into …
Browse files Browse the repository at this point in the history
…tmp/octopus/w/8.7/improvement/BB-434/newerNoncurrentVersions
  • Loading branch information
bert-e committed Sep 1, 2023
2 parents a06a103 + f8333cf commit 87667e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/functional/lifecycle/LifecycleTaskV2-versioned.js
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ describe('LifecycleTaskV2 with bucket versioned', () => {

const keyName = 'key1';
const versionId = 'versionid1';
const key = keyMock.nonCurrent({ keyName, versionId, daysEarlier: 1 });
const key = keyMock.nonCurrent({ keyName, versionId, daysEarlier: 2 });
const contents = [key];
backbeatMetadataProxy.listLifecycleResponse = { contents, isTruncated: false, markerInfo: {} };

Expand Down Expand Up @@ -978,9 +978,9 @@ describe('LifecycleTaskV2 with bucket versioned', () => {

const keyName = 'key1';
const versionId = 'versionid1';
const version1 = keyMock.nonCurrent({ keyName, versionId, daysEarlier: 2 });
const version1 = keyMock.nonCurrent({ keyName, versionId, daysEarlier: 3 });
const versionId2 = 'versionid2';
const version2 = keyMock.nonCurrent({ keyName, versionId: versionId2, daysEarlier: 1 });
const version2 = keyMock.nonCurrent({ keyName, versionId: versionId2, daysEarlier: 2 });
const contents = [version1, version2];
backbeatMetadataProxy.listLifecycleResponse = { contents, isTruncated: false, markerInfo: {} };

Expand Down Expand Up @@ -1016,9 +1016,9 @@ describe('LifecycleTaskV2 with bucket versioned', () => {

const keyName = 'key1';
const versionId = 'versionid1';
const version1 = keyMock.nonCurrent({ keyName, versionId, daysEarlier: 2 });
const version1 = keyMock.nonCurrent({ keyName, versionId, daysEarlier: 3 });
const versionId2 = 'versionid2';
const version2 = keyMock.nonCurrent({ keyName, versionId: versionId2, daysEarlier: 1 });
const version2 = keyMock.nonCurrent({ keyName, versionId: versionId2, daysEarlier: 2 });
const contents = [version1, version2];
backbeatMetadataProxy.listLifecycleResponse = {
contents,
Expand Down

0 comments on commit 87667e1

Please sign in to comment.