From 3980b5b98bb618409921a7b26b97835188914ce4 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Wed, 20 Jul 2022 20:37:47 +0300 Subject: [PATCH] fix: Increase test timeout for TestCreate/CreateFromListWithSkip 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 625edd87411f3..1d8c01af8d912 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) 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