chore(cli): increase timeout for TestSSH_Container subtests (#17148)

Closes https://github.com/coder/internal/issues/524
This commit is contained in:
Cian Johnston
2025-03-28 13:52:13 +00:00
committed by GitHub
parent c6799911dd
commit a9574fb4b1

View File

@ -1986,7 +1986,7 @@ func TestSSH_Container(t *testing.T) {
t.Run("NotFound", func(t *testing.T) { t.Run("NotFound", func(t *testing.T) {
t.Parallel() t.Parallel()
ctx := testutil.Context(t, testutil.WaitShort) ctx := testutil.Context(t, testutil.WaitLong)
client, workspace, agentToken := setupWorkspaceForAgent(t) client, workspace, agentToken := setupWorkspaceForAgent(t)
ctrl := gomock.NewController(t) ctrl := gomock.NewController(t)
mLister := acmock.NewMockLister(ctrl) mLister := acmock.NewMockLister(ctrl)
@ -2024,7 +2024,7 @@ func TestSSH_Container(t *testing.T) {
t.Run("NotEnabled", func(t *testing.T) { t.Run("NotEnabled", func(t *testing.T) {
t.Parallel() t.Parallel()
ctx := testutil.Context(t, testutil.WaitShort) ctx := testutil.Context(t, testutil.WaitLong)
client, workspace, agentToken := setupWorkspaceForAgent(t) client, workspace, agentToken := setupWorkspaceForAgent(t)
_ = agenttest.New(t, client.URL, agentToken) _ = agenttest.New(t, client.URL, agentToken)
_ = coderdtest.NewWorkspaceAgentWaiter(t, client, workspace.ID).Wait() _ = coderdtest.NewWorkspaceAgentWaiter(t, client, workspace.ID).Wait()