https://github.com/tendermint/tendermint
Revision b9508ffecba0ded9b3a401f1acaba67e273ff053 authored by Sean Braithwaite on 27 May 2019, 19:44:56 UTC, committed by Ethan Buchman on 27 May 2019, 19:44:56 UTC
* Peer behaviour test tweaks:

    Address the remaining test issues mentioned in ##3552 notably:
    + switch to p2p_test package
    + Use `Error` instead of `Errorf` when not using formatting
    + Add expected/got errors to
    `TestMockPeerBehaviourReporterConcurrency` test

* Peer behaviour equal behaviours test

    + slices of PeerBehaviours should be compared as histograms to
    ensure they have the same set of PeerBehaviours at the same
    freequncy.

* TestEqualPeerBehaviours:

    + Add tests for the equivalence between sets of PeerBehaviours
1 parent a6ac611
History
Tip revision: b9508ffecba0ded9b3a401f1acaba67e273ff053 authored by Sean Braithwaite on 27 May 2019, 19:44:56 UTC
[p2p] Peer behaviour test tweaks (#3662)
Tip revision: b9508ff
File Mode Size
pool.go -rw-r--r-- 4.6 KB
pool_test.go -rw-r--r-- 2.5 KB
reactor.go -rw-r--r-- 6.9 KB
reactor_test.go -rw-r--r-- 6.1 KB
store.go -rw-r--r-- 5.8 KB
store_test.go -rw-r--r-- 3.1 KB
wire.go -rw-r--r-- 416 bytes

back to top