LiskArchive / lisk-elements

⚙️ Library for sending Lisk transactions from the client or server
https://lisk.io/
GNU General Public License v3.0
250 stars 64 forks source link

Integration test custom peer select functions - Closes1131 #1175

Closed ishantiw closed 5 years ago

ishantiw commented 5 years ago

Description

Add Integration tests should contain the use of custom peer selection algorithm. In this way, we can be sure about the way we pass custom peer selection to the P2P constructor and its working.

It should cover tests for both,

peerSelectForSendRequest peerSelectForConnection

Review checklist