Commit 77a4436
Tweak generation frequencies in ChainDB q-s-m tests
This commit increases the generation frequencies of both the
'genAddBlock' and 'genAddPerasCert' constructions to help producing
denser chains of blocks. This way, some of the events that were
harder to trigger (especially TagSwitchedToShorterChain) are much
more common now:
* Before:
Tags (5784 in total):
39.83% TagGetIsValidJust
29.72% TagChainSelReprocessKeptSelection
27.92% TagGetIsValidNothing
2.42% TagChainSelReprocessChangedSelection
0.10% TagSwitchedToShorterChain
* After:
Tags (5202 in total):
38.66% TagGetIsValidJust
27.87% TagChainSelReprocessKeptSelection
26.43% TagGetIsValidNothing
5.71% TagChainSelReprocessChangedSelection
1.33% TagSwitchedToShorterChain
Co-authored-by: Agustin Mista <[email protected]>
Co-authored-by: Alexander Esgen <[email protected]>
Co-authored-by: Georgy Lukyanov <[email protected]>
Co-authored-by: Thomas BAGREL <[email protected]>
Co-authored-by: Nicolas BACQUEY <[email protected]>1 parent 5e24d68 commit 77a4436
File tree
1 file changed
+2
-2
lines changed- ouroboros-consensus/test/storage-test/Test/Ouroboros/Storage/ChainDB
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
913 | 913 | | |
914 | 914 | | |
915 | 915 | | |
916 | | - | |
| 916 | + | |
917 | 917 | | |
918 | | - | |
| 918 | + | |
919 | 919 | | |
920 | 920 | | |
921 | 921 | | |
| |||
0 commit comments