Skip to content

Commit

Permalink
fix TestBroadcastEvidence_DuplicateVoteEvidence, see tendermint/tende…
Browse files Browse the repository at this point in the history
  • Loading branch information
tnasu committed Oct 15, 2021
1 parent d7724f2 commit e16633a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rpc/client/evidence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ func makeEvidences(
}

func TestBroadcastEvidence_DuplicateVoteEvidence(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
time.Sleep(100 * time.Millisecond)
defer cancel()
var (
config = rpctest.GetConfig()
chainID = config.ChainID()
Expand All @@ -126,6 +129,9 @@ func TestBroadcastEvidence_DuplicateVoteEvidence(t *testing.T) {

require.NoError(t, err)
for i, c := range GetClients() {
res, err := c.Status(ctx)
assert.Nil(t, err)
t.Logf("%v", res)
correct, fakes := makeEvidences(t, pv, chainID)
t.Logf("client %d", i)

Expand Down

0 comments on commit e16633a

Please sign in to comment.