Skip to content

Commit

Permalink
Merge branch 'tb/t7704-deflake'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gitster committed Aug 14, 2024
2 parents dd59778 + ac91586 commit d639123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t7704-repack-cruft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d639123

Please sign in to comment.