mirror of https://github.com/go-redis/redis.git
Make tests verbose to debug build.
This commit is contained in:
parent
e4b55ec4ee
commit
900e7c9572
|
@ -14,7 +14,7 @@ import (
|
||||||
|
|
||||||
func startRedis(port string) (*exec.Cmd, error) {
|
func startRedis(port string) (*exec.Cmd, error) {
|
||||||
cmd := exec.Command("redis-server", "--port", port)
|
cmd := exec.Command("redis-server", "--port", port)
|
||||||
if false {
|
if true {
|
||||||
cmd.Stdout = os.Stdout
|
cmd.Stdout = os.Stdout
|
||||||
cmd.Stderr = os.Stderr
|
cmd.Stderr = os.Stderr
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ func startRedis(port string) (*exec.Cmd, error) {
|
||||||
|
|
||||||
func startRedisSlave(port, slave string) (*exec.Cmd, error) {
|
func startRedisSlave(port, slave string) (*exec.Cmd, error) {
|
||||||
cmd := exec.Command("redis-server", "--port", port, "--slaveof", "127.0.0.1", slave)
|
cmd := exec.Command("redis-server", "--port", port, "--slaveof", "127.0.0.1", slave)
|
||||||
if false {
|
if true {
|
||||||
cmd.Stdout = os.Stdout
|
cmd.Stdout = os.Stdout
|
||||||
cmd.Stderr = os.Stderr
|
cmd.Stderr = os.Stderr
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ func startRedisSentinel(port, masterName, masterPort string) (*exec.Cmd, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd := exec.Command("redis-server", sentinelConfFilepath, "--sentinel")
|
cmd := exec.Command("redis-server", sentinelConfFilepath, "--sentinel")
|
||||||
if false {
|
if true {
|
||||||
cmd.Stdout = os.Stdout
|
cmd.Stdout = os.Stdout
|
||||||
cmd.Stderr = os.Stderr
|
cmd.Stderr = os.Stderr
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue