Closed
Description
I noticed while working on a recent change that the withConn
tests in internal_test.go
frequently fail with connection errors. However they seem to be passing in the CI.
Line 302 in 345ad75
The issue is that these tests are running code which needs to make a successful connection to redis on 127.0.0.1:6379
, but the test setup does not start redis. In the CI they pass because there is another redis instance started for the purpose of a different test.
These withConn
tests are in the redis
package instead of redis_test
, which is where the BeforeSuite
that sets up redis is located.
Metadata
Metadata
Assignees
Labels
No labels