Browse Source

removed assertion to avoid confusion (#1626)

pull/1680/head
idoor88 7 years ago
committed by Anton Kaliaev
parent
commit
fedd07c522
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      p2p/pex/pex_reactor_test.go

+ 0
- 3
p2p/pex/pex_reactor_test.go View File

@ -49,15 +49,12 @@ func TestPEXReactorAddRemovePeer(t *testing.T) {
assert.Equal(t, size+1, book.Size())
r.RemovePeer(peer, "peer not available")
assert.Equal(t, size+1, book.Size())
outboundPeer := p2p.CreateRandomPeer(true)
r.AddPeer(outboundPeer)
assert.Equal(t, size+1, book.Size(), "outbound peers should not be added to the address book")
r.RemovePeer(outboundPeer, "peer not available")
assert.Equal(t, size+1, book.Size())
}
// --- FAIL: TestPEXReactorRunning (11.10s)


Loading…
Cancel
Save