From 900e7c957271315844ed32a83ad4be2859818e3c Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Fri, 4 Jul 2014 13:32:32 +0300 Subject: [PATCH] Make tests verbose to debug build. --- sentinel_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sentinel_test.go b/sentinel_test.go index 2f01fe9a..0e6ef438 100644 --- a/sentinel_test.go +++ b/sentinel_test.go @@ -14,7 +14,7 @@ import ( func startRedis(port string) (*exec.Cmd, error) { cmd := exec.Command("redis-server", "--port", port) - if false { + if true { cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr } @@ -26,7 +26,7 @@ func startRedis(port 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) - if false { + if true { cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr } @@ -62,7 +62,7 @@ func startRedisSentinel(port, masterName, masterPort string) (*exec.Cmd, error) } cmd := exec.Command("redis-server", sentinelConfFilepath, "--sentinel") - if false { + if true { cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr }