summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-04-16 08:04:36 +0100
committerLars Wirzenius <liw@liw.fi>2014-04-16 08:04:36 +0100
commit28a8609455a627f941fba76f87db118aeadeef22 (patch)
treebf1238dc88e82e3dbf1a1822a343b1e1da9368e1 /yarns
parent4a35fb40a635f3ebe04e4f6f98d21d3eb1e61fe7 (diff)
downloadobnam-28a8609455a627f941fba76f87db118aeadeef22.tar.gz
Set lock timeout to zero
Diffstat (limited to 'yarns')
-rw-r--r--yarns/obnam.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/yarns/obnam.sh b/yarns/obnam.sh
index 92c36dac..0792bcee 100644
--- a/yarns/obnam.sh
+++ b/yarns/obnam.sh
@@ -48,6 +48,12 @@ run_obnam()
# numbers for tests.
add_to_config "$name" weak-random yes
+ # Make lock timeout be very short, to make test suite not take
+ # long. Since the test suite only does one thing at a time, and
+ # does not run things in parallel, there's no way a lock will go
+ # away, so a zero timeout is OK.
+ add_to_config "$name" lock-timeout 0
+
(
if [ -e "$DATADIR/$name.env" ]
then