Commit bd31724
committed
roachtest: ensure backup-restore workloads get positive seed
As of #153615, the seed passed to the workloads could be a negative integer,
but the workload command cannot take a negative seed, causing the workload and
the test to fail. This patch ensures negative seeds aren't passed to workloads.
Fixes #152498
Release note: none1 parent 1c99d43 commit bd31724
File tree
3 files changed
+14
-8
lines changed- pkg/cmd/roachtest/tests
3 files changed
+14
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
245 | 244 | | |
246 | 245 | | |
247 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
| |||
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
160 | | - | |
| 164 | + | |
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| |||
421 | 425 | | |
422 | 426 | | |
423 | 427 | | |
424 | | - | |
| 428 | + | |
425 | 429 | | |
426 | 430 | | |
427 | 431 | | |
428 | 432 | | |
429 | | - | |
| 433 | + | |
430 | 434 | | |
431 | 435 | | |
432 | 436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
2934 | 2933 | | |
2935 | 2934 | | |
2936 | 2935 | | |
| 2936 | + | |
| 2937 | + | |
| 2938 | + | |
| 2939 | + | |
2937 | 2940 | | |
2938 | 2941 | | |
2939 | 2942 | | |
| |||
2951 | 2954 | | |
2952 | 2955 | | |
2953 | 2956 | | |
2954 | | - | |
2955 | | - | |
| 2957 | + | |
| 2958 | + | |
2956 | 2959 | | |
2957 | 2960 | | |
2958 | 2961 | | |
| |||
0 commit comments