diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-01-28 16:55:32 +0800 |
---|---|---|
committer | Mission Liao <mission.liao@dexon.org> | 2019-01-28 16:56:50 +0800 |
commit | 5d9ee4ebe8f846b39e5698778acd22b79ec3c100 (patch) | |
tree | 15dbe0c7db75371c040d4ed72fbf5bc0ca29ec12 | |
parent | 38c131216e416f6f7c1916d793610e2eb3973136 (diff) | |
download | dexon-consensus-5d9ee4ebe8f846b39e5698778acd22b79ec3c100.tar.gz dexon-consensus-5d9ee4ebe8f846b39e5698778acd22b79ec3c100.tar.zst dexon-consensus-5d9ee4ebe8f846b39e5698778acd22b79ec3c100.zip |
Refine logs in integration
-rw-r--r-- | integration_test/consensus_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integration_test/consensus_test.go b/integration_test/consensus_test.go index 8af118b..7ca3f66 100644 --- a/integration_test/consensus_test.go +++ b/integration_test/consensus_test.go @@ -225,7 +225,6 @@ func (s *ConsensusTestSuite) TestSimple() { Loop: for { <-time.After(5 * time.Second) - fmt.Println("check latest position delivered by each node") for _, n := range nodes { latestPos := n.app.GetLatestDeliveredPosition() fmt.Println("latestPos", n.ID, &latestPos) @@ -305,7 +304,6 @@ func (s *ConsensusTestSuite) TestNumChainsChange() { Loop: for { <-time.After(5 * time.Second) - fmt.Println("check latest position delivered by each node") for _, n := range nodes { latestPos := n.app.GetLatestDeliveredPosition() fmt.Println("latestPos", n.ID, &latestPos) @@ -413,11 +411,13 @@ ReachAlive: err error syncedCon *core.Consensus ) + fmt.Println("Start Syncing", syncNode.ID.String()) SyncLoop: for { syncedCon, syncedHeight, err = s.syncBlocksWithSomeNode( stoppedNode, syncNode, syncerObj, syncedHeight) if syncedCon != nil { + fmt.Println("Synced") syncNode.con = syncedCon go syncNode.con.Run() go func() { |