-
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.
Restructure the p2p governor tests a bit: split, add and reorder
We adjust the initial tests to be in a more sensible order and adjust the comments to explain them better. We start with the most basic tests first: checking there is any output at all, checking we don't get assertion failures, checking for simple livelock. Note that this significantly simplifies the existing fragile livelock test. We will add in a more sophisticated "no excessive busyness" test later if we can find a reliable way to do it. We then we add a new test to check for trace coverage. Then we have the other existing tests last: the gossip reachability test and the connection status consistency test. These tests are more specific and sophisticated. In particular they rely on the livelock test passing.
- Loading branch information
Showing
2 changed files
with
220 additions
and
84 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
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