Skip to content

Commit 3e5affd

Browse files
authored
fix: Increase test timeout for TestCreate/CreateFromListWithSkip (coder#3077)
Considering database load and CI performance during testing, we should avoid failing too early.
1 parent b0c2674 commit 3e5affd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/create_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func TestCreate(t *testing.T) {
8888

8989
member := coderdtest.CreateAnotherUser(t, client, user.OrganizationID)
9090
clitest.SetupConfig(t, member, root)
91-
cmdCtx, done := context.WithTimeout(context.Background(), time.Second*3)
91+
cmdCtx, done := context.WithTimeout(context.Background(), 10*time.Second)
9292
go func() {
9393
defer done()
9494
err := cmd.ExecuteContext(cmdCtx)

0 commit comments

Comments
 (0)