Skip to content

Commit

Permalink
fix test faied (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiemylogos authored and laizy committed Jun 28, 2019
1 parent d3b0e46 commit cada27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/vbft/node_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func testCalcParticipantPeers(t *testing.T, n, c int) {
for _, p := range pc {
peers[p] = true
}
if len(peers) <= 2*c+1 {
if len(peers) < 2*c+1 {
t.Fatalf("peers(%d, %d, %d, %d, %d, %d): %v, %v, %v", n, c, len(peers), len(pp), len(pe), len(pc), pp, pe, pc)
}
}

0 comments on commit cada27a

Please sign in to comment.