-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
outbound-governor: fixed a bootstrap peer test
Fixed the `prop_governor_only_bootstrap_peers_in_clean_state` test. Clean state is a state in which we are required to use bootstrap peers: the outbound governor enters clean state as soon as * `requiresBootstrapPeers` returns `True`; and * it only uses bootstrap peers. It leaves the clean state when `requiresBootstrapPeers` changes value to `False`. It turns out we also need to get known and trusted peers as a single event, otherwise they might get out of sync which results in a false positive.
- Loading branch information
Showing
1 changed file
with
25 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters