Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a "no excessive busyness" test for the p2p governor
This property is a (hopefully) somewhat more robust version of the old "no livelock" test. It is based on a new strategy that instead of counting events (and trying to place a limit on the number of events within a timespan), instead looks only at the length of spans of time in which there is a certain density of events. We account for those spans with perturbation credits from events in the mock environment. This is admitidly still a little hard to tune, but will hopefully be a more useful test that the old livelock test. We still have the very simple basic livelock test that checks for too many events without time advancing.
- Loading branch information
Showing
4 changed files
with
218 additions
and
21 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
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