mirror of
https://github.com/git/git.git
synced 2024-12-03 23:14:23 +08:00
Merge branch 'sg/t1404-update-ref-test-timeout'
An attempt to unflake a test a bit. * sg/t1404-update-ref-test-timeout: t1404: increase core.packedRefsTimeout to avoid occasional test failure
This commit is contained in:
commit
ea64414426
@ -559,9 +559,9 @@ test_expect_success 'no bogus intermediate values during delete' '
|
||||
{
|
||||
# Note: the following command is intentionally run in the
|
||||
# background. We increase the timeout so that `update-ref`
|
||||
# attempts to acquire the `packed-refs` lock for longer than
|
||||
# it takes for us to do the check then delete it:
|
||||
git -c core.packedrefstimeout=3000 update-ref -d $prefix/foo &
|
||||
# attempts to acquire the `packed-refs` lock for much longer
|
||||
# than it takes for us to do the check then delete it:
|
||||
git -c core.packedrefstimeout=30000 update-ref -d $prefix/foo &
|
||||
} &&
|
||||
pid2=$! &&
|
||||
# Give update-ref plenty of time to get to the point where it tries
|
||||
|
Loading…
Reference in New Issue
Block a user