You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
We should mock some additional 'message propagation' functionality into a new test scenario so that each P2P node re-broadcasts a message to its peers during a certain time period, then at the end, we can verify that all the nodes in the network have received the message. The network should have at least 30 nodes.
Actual behavior
For the partial mesh network, currently, we only check peer discovery and connections, but we should also check the p2p.send(...) and p2p.request(...) methods.
Also, we do not currently have an integration test scenario to verify that messages propagate correctly through the network.
Steps to reproduce
Run tests.
Which version(s) does this affect? (Environment, OS, etc...)
Feature branch: feature/implement-lip-p2p
The text was updated successfully, but these errors were encountered:
jondubois
changed the title
Add an P2P integration test scenario to cover message propagation in partially connected network
Add a P2P integration test scenario to cover message propagation in partially connected network
Jun 13, 2019
Expected behavior
There needs to be additional test cases in the P2P integration test scenario https://github.com/LiskHQ/lisk-sdk/blob/5ee62078e683dc89f0eada152f2eab917f6fda34/elements/lisk-p2p/test/integration/p2p.ts#L1318 to check that messages and requests each an appropriate number of peers.
We should mock some additional 'message propagation' functionality into a new test scenario so that each P2P node re-broadcasts a message to its peers during a certain time period, then at the end, we can verify that all the nodes in the network have received the message. The network should have at least 30 nodes.
Actual behavior
For the partial mesh network, currently, we only check peer discovery and connections, but we should also check the
p2p.send(...)
andp2p.request(...)
methods.Also, we do not currently have an integration test scenario to verify that messages propagate correctly through the network.
Steps to reproduce
Run tests.
Which version(s) does this affect? (Environment, OS, etc...)
Feature branch:
feature/implement-lip-p2p
The text was updated successfully, but these errors were encountered: