Skip to content

Commit 9451580

Browse files
committed
Merge branch 'ds/maintenance-part-2'
Test fix. * ds/maintenance-part-2: t7900: speed up expensive test
2 parents 7ef2906 + a0c5ccc commit 9451580

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

t/t7900-maintenance.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,15 @@ test_expect_success 'incremental-repack task' '
239239
'
240240

241241
test_expect_success EXPENSIVE 'incremental-repack 2g limit' '
242+
test_config core.compression 0 &&
243+
242244
for i in $(test_seq 1 5)
243245
do
244246
test-tool genrandom foo$i $((512 * 1024 * 1024 + 1)) >>big ||
245247
return 1
246248
done &&
247249
git add big &&
248-
git commit -m "Add big file (1)" &&
250+
git commit -qm "Add big file (1)" &&
249251
250252
# ensure any possible loose objects are in a pack-file
251253
git maintenance run --task=loose-objects &&
@@ -257,7 +259,7 @@ test_expect_success EXPENSIVE 'incremental-repack 2g limit' '
257259
return 1
258260
done &&
259261
git add big &&
260-
git commit -m "Add big file (2)" &&
262+
git commit -qm "Add big file (2)" &&
261263
262264
# ensure any possible loose objects are in a pack-file
263265
git maintenance run --task=loose-objects &&

0 commit comments

Comments
 (0)