Skip to content

Commit

Permalink
Do not stop on error during repeated api calls
Browse files Browse the repository at this point in the history
- It may be prone to periodic instabilities
- Not sopping won't change the result and make the step more
  close to what the sentence says

Issue: ZENKO-4941
  • Loading branch information
williamlardier committed Dec 4, 2024
1 parent e479cb4 commit 4b8c555
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/ctst/common/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,7 @@ When('the user tries to perform the current S3 action on the bucket {int} times
}
await runActionAgainstBucket(this, this.getSaved<ActionPermissionsType>('currentAction').action);
if (this.getResult().err) {
// stop at any error, the error will be evaluated in a separated step
return;
this.logger.debug('Error during repeated action', { error: this.getResult().err });
}
await Utils.sleep(delay);
}
Expand Down

0 comments on commit 4b8c555

Please sign in to comment.