From 28a8609455a627f941fba76f87db118aeadeef22 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 16 Apr 2014 08:04:36 +0100 Subject: Set lock timeout to zero --- yarns/obnam.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'yarns') 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 -- cgit v1.2.1