From 07a1f4dc159785a4e3751685793b1edaae7fd603 Mon Sep 17 00:00:00 2001 From: Fabian Weber Date: Thu, 15 Mar 2018 13:41:21 +0100 Subject: [PATCH] increase timeout for server and add output to console --- tests/tests.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/tests.go b/tests/tests.go index 190e152d08..844b58c2ee 100644 --- a/tests/tests.go +++ b/tests/tests.go @@ -227,9 +227,12 @@ func StartNodeServerForTest(t *testing.T, home string) *exec.Cmd { err := cmd.Start() require.Nil(t, err) + cmd.Stdout = os.Stdout + cmd.Stderr = os.Stderr + // FIXME: if there is a nondeterministic node start failure, // we should probably make this read the logs to wait for RPC - time.Sleep(time.Second) + time.Sleep(time.Second * 2) return cmd }