diff options
author | Jeff King <peff@peff.net> | 2015-03-13 00:57:05 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-12 23:29:19 -0700 |
commit | 376e4b39d4453ce50cbacc9c46a3bbdaad2134b2 (patch) | |
tree | 52ccc76bb4a1bb7ef8bc3b0e5aade6389a98ab02 /compat | |
parent | t5541: move run_with_cmdline_limit to test-lib.sh (diff) | |
download | tgif-376e4b39d4453ce50cbacc9c46a3bbdaad2134b2.tar.xz |
t5551: make EXPENSIVE test cheaper
We create 50,000 tags to check that we don't overflow the
command-line of fetch-pack. But by using run_with_cmdline_limit,
we can get the same effect with a much smaller number of
tags. This makes the test fast enough that we can drop the
EXPENSIVE prereq, which means people will actually run it.
It was not documented to do so, but this test was also the
only test of a clone-over-http that requires multiple POSTs
during the conversation. We can continue to test that by
dropping http.postbuffer to its minimum size, and checking
that we get two POSTs.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions