Test Parsec::gossip_recipient

Description

We introduced a function that allows to know ahead of time who we can gossip to by calling create_gossip.

We want to test it.

The best way, would be to integrate it in the integration test framework so we can benefit from soak testing.

In src/dev_utils/network.rs, we currently ignore errors of type: InvalidPeerState and InvalidSelfState after calling create_gossip. Instead, we should first get the gossip_recipients and if we get one of these errors but the recipient was in that list, panic.

Environment

None

Assignee

Fraser Hutchison

Reporter

Pierre Chevalier

Start date

2018/11/22

End date

2018/11/22

Task progress

None

Baseline start date

None

Baseline end date

None

Story Points

2

Components

Priority

Minor
Configure