Commit 9e8032d
roachtest: split impact threshold between perturbation and recovery intervals
Some perturbations are expected to crush foreground throughput while
they run, with the meaningful pass/fail signal being whether the
cluster returns to baseline afterwards. Letting one threshold gate
both intervals forces a choice between flaky-during-perturbation and
permissive-during-recovery.
Add recoveryImpact alongside impact. Zero value falls back to impact
at the use site (no eager copy), so tests that don't set it
independently continue to use a single threshold for both intervals.
Perturbations that need a permissive in-flight threshold can set the
two independently.
Epic: none
Release note: None
Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>1 parent 9ec1266 commit 9e8032d
1 file changed
Lines changed: 27 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
107 | 119 | | |
108 | 120 | | |
109 | 121 | | |
| |||
928 | 940 | | |
929 | 941 | | |
930 | 942 | | |
931 | | - | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
932 | 951 | | |
933 | 952 | | |
934 | 953 | | |
| |||
0 commit comments