Skip to content

Commit

Permalink
test: add 1s delay to bucket sample tests to avoid getting throttle e…
Browse files Browse the repository at this point in the history
…rrors
  • Loading branch information
ddelgrosso1 committed May 6, 2024
1 parent 13e29f7 commit 9ca7cb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions samples/system-test/buckets.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ async function deleteAllBucketsAsync() {
}

after(deleteAllBucketsAsync);
afterEach(async () => {
await new Promise(res => setTimeout(res, 1000));
});

it('should create a bucket', async () => {
const output = execSync(`node createNewBucket.js ${bucketName}`);
Expand Down

0 comments on commit 9ca7cb6

Please sign in to comment.