chore: improve codecov (#2828)

This commit is contained in:
Kevin Wan
2023-01-29 21:39:54 +08:00
committed by kevin
parent 86a2429d7d
commit fd2f2f0f54
3 changed files with 6 additions and 1 deletions

View File

@@ -1776,7 +1776,10 @@ func runOnRedis(t *testing.T, fn func(client *Redis)) {
}
}()
fn(New(s.Addr()))
fn(MustNewRedis(RedisConf{
Host: s.Addr(),
Type: NodeType,
}))
}
func runOnRedisWithError(t *testing.T, fn func(client *Redis)) {