Skip to content

Commit f0fc8c2

Browse files
committed
test: settle Slack gateway handoff
1 parent ef763d0 commit f0fc8c2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

extensions/qa-lab/src/live-transports/slack/slack-live.runtime.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ type SlackChannelStatus = {
4444

4545
const SLACK_QA_READY_TIMEOUT_MS = 45_000;
4646
const SLACK_QA_READY_STABILITY_MS = 3_000;
47+
const SLACK_QA_GATEWAY_STOP_SETTLE_MS = 3_000;
4748

4849
type SlackQaScenarioId =
4950
| "slack-allowlist-block"
@@ -1058,6 +1059,7 @@ export async function runSlackQaLive(params: {
10581059
await gatewayHarness.stop().catch((error) => {
10591060
appendLiveLaneIssue(cleanupIssues, "gateway stop failed", error);
10601061
});
1062+
await new Promise((resolve) => setTimeout(resolve, SLACK_QA_GATEWAY_STOP_SETTLE_MS));
10611063
}
10621064
}
10631065
}

0 commit comments

Comments
 (0)