From afa263ed2fbef2baaaa067ae3f2144fe6828bc8b Mon Sep 17 00:00:00 2001 From: Danielle Maywood Date: Fri, 15 Aug 2025 17:43:10 +0000 Subject: [PATCH] fix: increase timeout for watch workspace agent devcontainers test Fixes https://github.com/coder/internal/issues/907 When running in a CI environment, the process of setting up the agent + coderd + creating the websocket connection can sometimes take up to 10 seconds, by which time we timeout. To resolve this we up the timeout from `WaitShort` to `WaitLong`. fix: run the formatter fix: WaitSuperLong for watch containers PayloadTooLarge test The test can take around 10s when it is the only one running, so in a constrained environment like CI it makes sense that it still hits the 25 second timeout. For now we up the limit to 60 seconds until the test is rewritten to greatly reduce the time taken. --- coderd/workspaceagents_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coderd/workspaceagents_test.go b/coderd/workspaceagents_test.go index a11efebc9ee62..1855ed8a7e8fc 100644 --- a/coderd/workspaceagents_test.go +++ b/coderd/workspaceagents_test.go @@ -1579,7 +1579,7 @@ func TestWatchWorkspaceAgentDevcontainers(t *testing.T) { t.Parallel() var ( - ctx = testutil.Context(t, testutil.WaitLong) + ctx = testutil.Context(t, testutil.WaitSuperLong) logger = slogtest.Make(t, &slogtest.Options{IgnoreErrors: true}).Leveled(slog.LevelDebug) mClock = quartz.NewMock(t) updaterTickerTrap = mClock.Trap().TickerFunc("updaterLoop") pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy