IRISHUB-238: fix failures in test_lint and test_cover

This commit is contained in:
HaoyangLiu
2018-08-30 15:52:17 +08:00
parent 5473771105
commit b878edc388
7 changed files with 17 additions and 16 deletions
+2
View File
@@ -37,6 +37,7 @@ import (
"github.com/tendermint/tendermint/proxy"
tmrpc "github.com/tendermint/tendermint/rpc/lib/server"
tmtypes "github.com/tendermint/tendermint/types"
"time"
)
// makePathname creates a unique pathname for each test. It will panic if it
@@ -190,6 +191,7 @@ func InitializeTestLCD(t *testing.T, nValidators int, initAddrs []sdk.AccAddress
node, err := startTM(config, logger, genDoc, privVal, app)
require.NoError(t, err)
time.Sleep(3 * time.Second)
lcd, err := startLCD(logger, listenAddr, cdc)
require.NoError(t, err)