From 3e5affd28a3f0e0fd78477cda27b5bf908d85931 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Wed, 20 Jul 2022 20:51:33 +0300 Subject: [PATCH] fix: Increase test timeout for TestCreate/CreateFromListWithSkip (#3077) Considering database load and CI performance during testing, we should avoid failing too early. --- cli/create_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/create_test.go b/cli/create_test.go index 625edd8741..1d8c01af8d 100644 --- a/cli/create_test.go +++ b/cli/create_test.go @@ -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)