Skip to content

Commit 59c7230

Browse files
vdyegitster
authored andcommitted
p0004: fix prereq declaration
Fix multi-threaded 'p0004' test's use of the 'REPO_BIG_ENOUGH_FOR_MULTI' prerequisite. Unlike normal 't/' tests, 't/perf/' tests need to have their prerequisites declared with the '--prereq' flag. Signed-off-by: Victoria Dye <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 359da65 commit 59c7230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/perf/p0004-lazy-init-name-hash.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ test_perf "single-threaded, $desc" "
4949
test-tool lazy-init-name-hash --single --count=$count
5050
"
5151

52-
test_perf REPO_BIG_ENOUGH_FOR_MULTI "multi-threaded, $desc" "
52+
test_perf "multi-threaded, $desc" --prereq REPO_BIG_ENOUGH_FOR_MULTI "
5353
test-tool lazy-init-name-hash --multi --count=$count
5454
"
5555

0 commit comments

Comments
 (0)