Skip to content

Commit

Permalink
Merge branch 'w/2.7/bugfix/ZENKO-4898' into tmp/octopus/w/2.8/bugfix/Z…
Browse files Browse the repository at this point in the history
  • Loading branch information
bert-e committed Oct 3, 2024
2 parents 98ffffb + 2a0ed4f commit 3ed47fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/ctst/steps/azureArchive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export async function cleanAzureContainer(
world: Zenko,
bucketName: string,
): Promise<void> {
const createdObjects = world.getSaved<Map<string, string>>('createdObjects');
const createdObjects = world.getCreatedObjects();
if (!createdObjects) {
return;
}
Expand Down Expand Up @@ -250,7 +250,7 @@ Then('object {string} should have the same data', async function (this: Zenko, o
this.resetCommand();
this.addCommandParameter({ bucket: this.getSaved<string>('bucketName') });
this.addCommandParameter({ key: objName });
const versionId = this.getSaved<Map<string, string>>('createdObjects')?.get(objName);
const versionId = this.getLatestObjectVersion(objName);
if (versionId) {
this.addCommandParameter({ versionId });
}
Expand Down Expand Up @@ -333,7 +333,7 @@ Then('the storage class of object {string} must stay {string} for {int} seconds'
this.resetCommand();
this.addCommandParameter({ bucket: this.getSaved<string>('bucketName') });
this.addCommandParameter({ key: objName });
const versionId = this.getSaved<Map<string, string>>('createdObjects')?.get(objName);
const versionId = this.getLatestObjectVersion(objName);
if (versionId) {
this.addCommandParameter({ versionId });
}
Expand Down Expand Up @@ -382,7 +382,7 @@ Then('object {string} should expire in {int} days', async function (this: Zenko,
this.resetCommand();
this.addCommandParameter({ bucket: this.getSaved<string>('bucketName') });
this.addCommandParameter({ key: objName });
const versionId = this.getSaved<Map<string, string>>('createdObjects')?.get(objName);
const versionId = this.getLatestObjectVersion(objName);
if (versionId) {
this.addCommandParameter({ versionId });
}
Expand Down

0 comments on commit 3ed47fa

Please sign in to comment.