Commit aefefc5
Merge 'gvfs/midx-fix-flakey-offset-test'
The MIDX selects between duplicate copies of objects by selecting the
most-recently-modified pack-file. This modified time is stored in
seconds, so if t5319-midx.sh runs quickly, the IDX containing the 64-bit
offsets may have the same modified time as the IDX files created
earlier. This can create test failures because we do not create the
large offset chunk if our MIDX write does not pick the corrupted IDX
file.
Remove this issue from possibility by only having one IDX file in the
64-bit test.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>1 file changed
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
236 | 238 | | |
237 | 239 | | |
238 | | - | |
239 | | - | |
| 240 | + | |
| 241 | + | |
240 | 242 | | |
241 | | - | |
| 243 | + | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
0 commit comments