Open
Description
The Snowflake unit tests are flaky and periodically fail:
--- FAIL: TestSnowflake_Pattern (0.01s)
--- FAIL: TestSnowflake_Pattern/Snowflake_Credentials (0.01s)
snowflake_test.go:70: did not receive result
--- FAIL: TestSnowflake_Pattern/Private_Snowflake_Credentials (0.00s)
snowflake_test.go:70: did not receive result
--- FAIL: TestSnowflake_Pattern/Snowflake_Credentials_-_Single_Character_account (0.00s)
snowflake_test.go:70: did not receive result
FAIL
FAIL github.com/trufflesecurity/trufflehog/v3/pkg/detectors/snowflake 0.618s
This is presumably due to the use of brianvoe/gofakeit to generate values.
trufflehog/pkg/detectors/snowflake/snowflake_test.go
Lines 14 to 16 in def734a
I don't know if these are valid results being missed, or invalid generated values that ought to be skipped.