Skip to content

Commit 3e5affd

Browse files
authored
fix: Increase test timeout for TestCreate/CreateFromListWithSkip (#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

Lines changed: 1 addition & 1 deletion
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)
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