Skip to content

Commit a8c5e08

Browse files
author
Kamil Sobol
authored
Increase timeout while waiting for bucked delete. (#2061)
* Increase timeout while waiting for bucked delete. * Create khaki-trainers-turn.md
1 parent d0a90b1 commit a8c5e08

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.changeset/khaki-trainers-turn.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

packages/integration-tests/src/test-project-setup/data_storage_auth_with_triggers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,10 @@ class DataStorageAuthWithTriggerTestProject extends TestProjectBase {
364364

365365
/**
366366
* There is some eventual consistency between deleting a bucket and when HeadBucket returns NotFound
367-
* So we are polling HeadBucket until it returns NotFound or until we time out (after 30 seconds)
367+
* So we are polling HeadBucket until it returns NotFound or until we time out (after 60 seconds)
368368
*/
369369
private waitForBucketDeletion = async (bucketName: string): Promise<void> => {
370-
const TIMEOUT_MS = 1000 * 30; // 30 seconds
370+
const TIMEOUT_MS = 1000 * 60; // 60 seconds
371371
const startTime = Date.now();
372372

373373
while (Date.now() - startTime < TIMEOUT_MS) {

0 commit comments

Comments
 (0)