Commit d098041
committed
test(storage): make the harnesses hold on CI's machines, not just this one
Three failures, each real rather than a runner being slow.
**A fixed delay decided whether the migration crash test tested anything.** On
the runner the child had copied nothing in its 150 ms; on this machine it had
copied some. It uses the same failpoint as the other children now: ten chunks
copied, the eleventh interrupted, the rest untouched, the same every time. The
progress handshake it used instead is gone with it.
**btrfs does not report freed space immediately.** The test slept 200 ms and
took one reading, which on ext4 was enough and on btrfs was not. It polls for
the space to come back, with a deadline, and returns the last real reading so
a genuine failure still fails on the number rather than on the wait.
**Two things only CI's toolchain sees.** Clippy 1.98 rejects an unbounded
range in a for loop where 1.95 did not, and making the file store public under
the test feature put a doc link to a private item in front of rustdoc for the
first time. Local checks now include `cargo doc --features test-utils`, which
is what would have caught the second one here.1 parent 8ffdf90 commit d098041
3 files changed
Lines changed: 31 additions & 61 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1749 | 1749 | | |
1750 | 1750 | | |
1751 | 1751 | | |
1752 | | - | |
1753 | | - | |
| 1752 | + | |
1754 | 1753 | | |
1755 | 1754 | | |
1756 | 1755 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | 105 | | |
151 | 106 | | |
152 | 107 | | |
| |||
165 | 120 | | |
166 | 121 | | |
167 | 122 | | |
168 | | - | |
169 | 123 | | |
170 | 124 | | |
171 | 125 | | |
172 | | - | |
| 126 | + | |
| 127 | + | |
173 | 128 | | |
174 | 129 | | |
175 | 130 | | |
| 131 | + | |
176 | 132 | | |
177 | 133 | | |
178 | 134 | | |
| |||
202 | 158 | | |
203 | 159 | | |
204 | 160 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | 161 | | |
211 | 162 | | |
212 | 163 | | |
| |||
352 | 303 | | |
353 | 304 | | |
354 | 305 | | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
360 | 311 | | |
361 | 312 | | |
362 | 313 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
257 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
258 | 262 | | |
259 | 263 | | |
260 | 264 | | |
| |||
297 | 301 | | |
298 | 302 | | |
299 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
300 | 320 | | |
301 | 321 | | |
302 | 322 | | |
| |||
0 commit comments