Commit ef76e92
roachtest: add per-test token-return wait override for perturbation tests
Some perturbations leave non-trivial kvadmission flow-control churn at
the end of the workload phase that takes longer than the 10-minute
default to fully drain to zero in the post-test ValidateTokensReturned
check. A previous workaround (raise to 1h when v.diskBandwidthLimit is
set) covers one such case. Generalize that to a per-test
v.tokenReturnTime field that any perturbation can set; the existing
defaults remain in place when the field is zero.
No behavior change for existing tests.
Epic: none
Release note: None
Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>1 parent 9e8032d commit ef76e92
1 file changed
Lines changed: 25 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
100 | 107 | | |
101 | 108 | | |
102 | 109 | | |
| |||
954 | 961 | | |
955 | 962 | | |
956 | 963 | | |
| 964 | + | |
| 965 | + | |
957 | 966 | | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
963 | 974 | | |
964 | 975 | | |
965 | 976 | | |
| |||
0 commit comments