| author | Junio C Hamano <gitster@pobox.com> | |
| Wed, 14 Apr 2010 22:09:57 +0000 (15:09 -0700) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Sun, 18 Apr 2010 01:20:23 +0000 (18:20 -0700) | ||
| commit | 713c79e84bb148b8166d866755d155f64b270ac9 | |
| tree | b157df13164fd9c0a59c5bbdca7ea789c369537f | tree | snapshot |
| parent | eb523a8d795e31e84cc8af5c43b913ed0cd073b1 | commit | diff |
more war on "sleep" in tests
Two more tests that sleep only to waste tick can be converted to use
test_tick and take expiry parameters relative to $test_tick. The basic
idea is to replace "sleep 1" with "test_tick" to cause the "time" to pass.
These tests are interested in expiring things with "now" as the timestamp,
soo use a timestamp relative to $test_tick to give them more stability and
reproducibility.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Two more tests that sleep only to waste tick can be converted to use
test_tick and take expiry parameters relative to $test_tick. The basic
idea is to replace "sleep 1" with "test_tick" to cause the "time" to pass.
These tests are interested in expiring things with "now" as the timestamp,
soo use a timestamp relative to $test_tick to give them more stability and
reproducibility.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| t/t7700-repack.sh | diff | blob | history | |
| t/t7701-repack-unpack-unreachable.sh | diff | blob | history |