mirror of
https://github.com/git/git
synced 2024-09-29 21:27:13 +00:00
Merge branch 'tb/t7704-deflake'
A test that fails on an unusually slow machine was found, and made less likely to cause trouble by lengthening the expiry value it uses. * tb/t7704-deflake: t/t7704-repack-cruft.sh: avoid failures during long-running tests
This commit is contained in:
commit
d639123742
|
@ -330,7 +330,7 @@ test_expect_success '--max-cruft-size with pruning' '
|
|||
# repack (and prune) with a --max-cruft-size to ensure
|
||||
# that we appropriately split the resulting set of packs
|
||||
git repack -d --cruft --max-cruft-size=1M \
|
||||
--cruft-expiration=10.seconds.ago &&
|
||||
--cruft-expiration=1000.seconds.ago &&
|
||||
ls $packdir/pack-*.mtimes | sort >cruft.after &&
|
||||
|
||||
for cruft in $(cat cruft.after)
|
||||
|
|
Loading…
Reference in a new issue