Oh, silly, silly. To work also with the buildbot, we need a global lock.
- Legacy-Id: 338
This commit is contained in:
parent
dd37257c0c
commit
6fe5717a1f
|
@ -53,8 +53,8 @@ cat $settings_local test/settings_local_test.py > ietf/settings_local.py
|
|||
|
||||
# Acquire lock, to prevent running test and database update at the same time
|
||||
|
||||
LOCKDIR=$build/test/update-db.lock
|
||||
PIDFILE=$build/test/update-db.lock/pid
|
||||
LOCKDIR=/var/lock/ietfdb
|
||||
PIDFILE=$LOCKDIR/pid
|
||||
|
||||
while true; do
|
||||
if mkdir $build/test/update-db.lock; then
|
||||
|
|
|
@ -21,7 +21,7 @@ fi
|
|||
|
||||
# Release database update lock
|
||||
|
||||
LOCKDIR=$build/test/update-db.lock
|
||||
LOCKDIR=/var/lock/ietfdb
|
||||
rm -rf $LOCKDIR
|
||||
|
||||
exit $warnings
|
||||
|
|
Loading…
Reference in a new issue