fix: Increase test timeout for TestCreate/CreateFromListWithSkip (#3077)

Considering database load and CI performance during testing, we should
avoid failing too early.
This commit is contained in:
Mathias Fredriksson
2022-07-20 20:51:33 +03:00
committed by GitHub
parent b0c26745fb
commit 3e5affd28a
+1 -1
View File
@@ -88,7 +88,7 @@ func TestCreate(t *testing.T) {
member := coderdtest.CreateAnotherUser(t, client, user.OrganizationID)
clitest.SetupConfig(t, member, root)
cmdCtx, done := context.WithTimeout(context.Background(), time.Second*3)
cmdCtx, done := context.WithTimeout(context.Background(), 10*time.Second)
go func() {
defer done()
err := cmd.ExecuteContext(cmdCtx)