Fix race testing

This commit is contained in:
Jae Kwon
2018-04-06 17:02:29 -07:00
parent fb64314d1c
commit d24e4cb821
3 changed files with 14 additions and 6 deletions

View File

@ -60,7 +60,7 @@ func startNewConsensusStateAndWaitForBlock(t *testing.T, lastBlockHeight int64,
bytes, _ := ioutil.ReadFile(cs.config.WalFile())
// fmt.Printf("====== WAL: \n\r%s\n", bytes)
t.Logf("====== WAL: \n\r%s\n", bytes)
t.Logf("====== WAL: \n\r%X\n", bytes)
err := cs.Start()
require.NoError(t, err)