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
bench_test.go -rw-r--r-- 1.6 KB
cache_test.go -rw-r--r-- 3.2 KB
clist_mempool.go -rw-r--r-- 19.9 KB
clist_mempool_test.go -rw-r--r-- 18.4 KB
doc.go -rw-r--r-- 1.2 KB
errors.go -rw-r--r-- 1.0 KB
mempool.go -rw-r--r-- 5.0 KB
metrics.go -rw-r--r-- 2.4 KB
reactor.go -rw-r--r-- 7.7 KB
reactor_test.go -rw-r--r-- 5.5 KB
wire.go -rw-r--r-- 143 bytes

back to top