From 86c42db3504a17f0fbcebe6875fa851567cc2fe4 Mon Sep 17 00:00:00 2001 From: Pritesh Bandi Date: Fri, 1 Nov 2024 10:45:10 -0700 Subject: [PATCH] fixes Signed-off-by: Pritesh Bandi --- plugin/plugin_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/plugin_test.go b/plugin/plugin_test.go index f6a92337..fc77d13a 100644 --- a/plugin/plugin_test.go +++ b/plugin/plugin_test.go @@ -210,7 +210,7 @@ func TestNewCLIPlugin_Error(t *testing.T) { if runtime.GOOS == "windows" { t.Skip("skipping test on Windows") } - expectedErrMsg := "'sleep 10' command execution timeout: signal: killed" + expectedErrMsg := "'sleep 2' command execution timeout: signal: killed" ctxWithTimout, cancel := context.WithTimeout(ctx, 10 * time.Millisecond) defer cancel()