mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
chore(cli): increase timeout for TestSSH_Container subtests (#17148)
Closes https://github.com/coder/internal/issues/524
This commit is contained in:
@ -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()
|
||||||
|
Reference in New Issue
Block a user