mirror of
https://github.com/LBRYFoundation/tracker.git
synced 2025-08-23 17:47:29 +00:00
storage: stop peer store after tests
This commit is contained in:
parent
2a4c82f613
commit
b5dda16706
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,8 @@ func TestPeerStore(t *testing.T, p PeerStore) {
|
||||||
require.Equal(t, ErrResourceDoesNotExist, err)
|
require.Equal(t, ErrResourceDoesNotExist, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
e := p.Stop()
|
||||||
|
require.Nil(t, <-e)
|
||||||
}
|
}
|
||||||
|
|
||||||
func containsPeer(peers []bittorrent.Peer, p bittorrent.Peer) bool {
|
func containsPeer(peers []bittorrent.Peer, p bittorrent.Peer) bool {
|
||||||
|
|
Loading…
Add table
Reference in a new issue