Skip to content

Commit

Permalink
t0610.47: increase timeout
Browse files Browse the repository at this point in the history
The test case 'ref transaction: many concurrent writers' does take a
long time on Windows, in particular since there are file-locking issues
involved. Let's give it much more than 10 seconds time to wait for 99
more concurrent writers to complete their updates.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Oct 4, 2024
1 parent 3903e5d commit b3164a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t0610-reftable-basics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,9 @@ test_expect_success 'ref transaction: many concurrent writers' '
(
cd repo &&
# Set a high timeout such that a busy CI machine will not abort
# early. 10 seconds should hopefully be ample of time to make
# early. One minute should hopefully be ample of time to make
# this non-flaky.
git config set reftable.lockTimeout 10000 &&
git config set reftable.lockTimeout 60000 &&
test_commit --no-tag initial &&
head=$(git rev-parse HEAD) &&
Expand Down

0 comments on commit b3164a1

Please sign in to comment.