diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-12-08 15:11:19 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-12-08 15:11:19 -0800 |
commit | 945158016ac82fb8ecb4591a5ee8b3b4e165d842 (patch) | |
tree | 8200c7266db23f5da19f12e6ce2ec53fc481fde8 | |
parent | Merge branch 'ds/maintenance-part-1' (diff) | |
parent | t7900: speed up expensive test (diff) | |
download | tgif-945158016ac82fb8ecb4591a5ee8b3b4e165d842.tar.xz |
Merge branch 'ds/maintenance-part-2'
Test fix.
* ds/maintenance-part-2:
t7900: speed up expensive test
-rwxr-xr-x | t/t7900-maintenance.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t/t7900-maintenance.sh b/t/t7900-maintenance.sh index ee91a714b9..07acee6ace 100755 --- a/t/t7900-maintenance.sh +++ b/t/t7900-maintenance.sh @@ -239,13 +239,15 @@ test_expect_success 'incremental-repack task' ' ' test_expect_success EXPENSIVE 'incremental-repack 2g limit' ' + test_config core.compression 0 && + for i in $(test_seq 1 5) do test-tool genrandom foo$i $((512 * 1024 * 1024 + 1)) >>big || return 1 done && git add big && - git commit -m "Add big file (1)" && + git commit -qm "Add big file (1)" && # ensure any possible loose objects are in a pack-file git maintenance run --task=loose-objects && @@ -257,7 +259,7 @@ test_expect_success EXPENSIVE 'incremental-repack 2g limit' ' return 1 done && git add big && - git commit -m "Add big file (2)" && + git commit -qm "Add big file (2)" && # ensure any possible loose objects are in a pack-file git maintenance run --task=loose-objects && |