Skip to content

test(pic): allow more time for deploying the NNS dapp - #313

Merged
marc0olo merged 1 commit into
mainfrom
test/nns-dapp-timeout
Sep 29, 2026
Merged

marc0olo merged 1 commit into
mainfrom
test/nns-dapp-timeout

Conversation

@marc0olo

Copy link
Copy Markdown
Contributor

httpGateway › deploys and serves the NNS dapp hit the PocketIC client's 30 s request timeout in two consecutive CI runs (#311, #310), and passed on rerun both times. It deploys the NNS, SNS, II and the NNS dapp. That takes about 11 s locally, but it can go past 30 s on CI, where the test files run in parallel against one PocketIC server.

This test now uses processingTimeoutMs: 120_000 and a 180 s Jest timeout, which caps the 60 s default. The other tests keep their defaults. With the timeout forced down to 2 s, the test fails with the same ServerRequestTimeoutError as on CI.

🤖 Generated with Claude Code

Copilot AI balanced review requested due to automatic review settings September 29, 2026 09:13
@marc0olo
marc0olo requested a review from a team as a code owner September 29, 2026 09:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The targeted timeout changes correctly address the documented CI flakiness without altering production behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Raises timeouts for the CI-intensive NNS dapp deployment test without affecting other tests.

Changes:

  • Sets the PocketIC processing timeout to 120 seconds.
  • Sets this test’s Jest timeout to 180 seconds.
File Description
packages/​pic/​tests/​src/​http-gateway.spec.ts Adds test-specific timeouts for NNS dapp deployment.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@marc0olo
marc0olo enabled auto-merge September 29, 2026 09:15
@marc0olo
marc0olo added this pull request to the merge queue Sep 29, 2026
Merged via the queue into main with commit 955f7d2 Sep 29, 2026
18 checks passed
@marc0olo
marc0olo deleted the test/nns-dapp-timeout branch September 29, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants