summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-12-08 15:11:19 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-12-08 15:11:19 -0800
commit945158016ac82fb8ecb4591a5ee8b3b4e165d842 (patch)
tree8200c7266db23f5da19f12e6ce2ec53fc481fde8
parentMerge branch 'ds/maintenance-part-1' (diff)
parentt7900: speed up expensive test (diff)
downloadtgif-945158016ac82fb8ecb4591a5ee8b3b4e165d842.tar.xz
Merge branch 'ds/maintenance-part-2'
Test fix. * ds/maintenance-part-2: t7900: speed up expensive test
-rwxr-xr-xt/t7900-maintenance.sh6
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 &&