Skip to content

Commit

Permalink
increase timeout for server and add output to console
Browse files Browse the repository at this point in the history
  • Loading branch information
faboweb authored and ebuchman committed Mar 17, 2018
1 parent 7246a80 commit 07a1f4d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 07a1f4d

Please sign in to comment.