Skip to content

Commit 6fe5717

Browse files
committed
Oh, silly, silly. To work also with the buildbot, we need a global lock.
- Legacy-Id: 338
1 parent dd37257 commit 6fe5717

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/test-setup

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ cat $settings_local test/settings_local_test.py > ietf/settings_local.py
5353

5454
# Acquire lock, to prevent running test and database update at the same time
5555

56-
LOCKDIR=$build/test/update-db.lock
57-
PIDFILE=$build/test/update-db.lock/pid
56+
LOCKDIR=/var/lock/ietfdb
57+
PIDFILE=$LOCKDIR/pid
5858

5959
while true; do
6060
if mkdir $build/test/update-db.lock; then

test/test-teardown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fi
2121

2222
# Release database update lock
2323

24-
LOCKDIR=$build/test/update-db.lock
24+
LOCKDIR=/var/lock/ietfdb
2525
rm -rf $LOCKDIR
2626

2727
exit $warnings

0 commit comments

Comments
 (0)