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()