From 52fc35d04890d185b6855ec2a76182b68f000e28 Mon Sep 17 00:00:00 2001 From: Alan Parra Date: Fri, 12 May 2023 16:10:54 -0300 Subject: [PATCH] Decrease test timeout --- lib/client/mfa_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/mfa_test.go b/lib/client/mfa_test.go index 63a8f6138fc9a..b267853eaaac3 100644 --- a/lib/client/mfa_test.go +++ b/lib/client/mfa_test.go @@ -99,7 +99,7 @@ func TestPromptMFAChallenge_usingNonRegisteredDevice(t *testing.T) { t.Run(test.name, func(t *testing.T) { // Set a timeout so the test won't block forever. // We don't expect to hit the timeout for any of the test cases. - ctx, cancel := context.WithTimeout(ctx, 100000000*time.Second) + ctx, cancel := context.WithTimeout(ctx, 1*time.Second) defer cancel() // Prompt never has any input.