Skip to content

Commit

Permalink
Sleep between ARWWI calls in PRA
Browse files Browse the repository at this point in the history
- Otherwise, we might be overloading the Vault service with
  multiple API calls at high frequency.

Issue: ZENKO-4909
  • Loading branch information
williamlardier committed Sep 30, 2024
1 parent cbcaca3 commit a77d08a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/ctst/steps/pra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ When('the DATA_ACCESSOR user tries to perform PutObject on {string} site', { tim
} catch (err) {
this.logger.error('Failed to setup entity', { err });
}
if (!conditionOk) {
await Utils.sleep(1000);
}
}

this.addCommandParameter({ bucket: this.getSaved<string>('bucketName') });
Expand Down

0 comments on commit a77d08a

Please sign in to comment.