Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
[chore] Increase TestMaxDiffSize timeout (#2472)
Miccah88c1bb3289c5
diff --git a/pkg/gitparse/gitparse_test.go b/pkg/gitparse/gitparse_test.goindex 293973fc3..45f8196e2 100644--- a/pkg/gitparse/gitparse_test.go+++ b/pkg/gitparse/gitparse_test.go@@ -1298,8 +1298,8 @@ func TestMaxDiffSize(t *testing.T) {}bigReader := strings.NewReader(builder.String())- diffChan := make(chan *Diff, 1) // Buffer to prevent blocking- ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) // Timeout to prevent long wait+ diffChan := make(chan *Diff, 1) // Buffer to prevent blocking+ ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) // Timeout to prevent long waitdefer cancel()go func() {