Skip to content

integration: fix flaky testTeamAdminCanReplaceMembers await timeout#5317

Open
blackheaven wants to merge 1 commit into
developfrom
gdifolco/fix-flaky-tests-channel-replace-members
Open

integration: fix flaky testTeamAdminCanReplaceMembers await timeout#5317
blackheaven wants to merge 1 commit into
developfrom
gdifolco/fix-flaky-tests-channel-replace-members

Conversation

@blackheaven

Copy link
Copy Markdown
Contributor

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

The test awaited async conversation.member-join notifications on the
default timeOutSeconds budget (10s, or only 2s when .envrc sets
TEST_TIMEOUT_SECONDS=2). The notification path is multi-hop and fully
async (Galley -> pushNotifications -> gundeck -> cannon -> websocket),
and returns *after* the HTTP replaceMembers call already answered 200.
On a loaded CI runner the delivery can exceed that budget, yielding an
empty AwaitResult (zero matches, zero non-matches) timeout.

Bump the per-test await budget to 30s via 'local (setTimeoutTo 30)',
matching the Test.LegalHold precedent.
@blackheaven blackheaven requested a review from a team as a code owner July 3, 2026 21:34
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants