Set lock_path for Tempest to TMPDIR

Tempest change I5376f977a110f502f0e4958cbccbd379539e006b syncs
lockutils from oslo. Tempest with testr needs to use external locks
which require a lock_path config option. This commit sets that option
for tempest to use devstack's TMPDIR.

Change-Id: I464edf9e11710e1931ed4f7b0262328a57e5b3de
This commit is contained in:
Matthew Treinish 2013-07-26 15:22:44 -04:00
parent 6b892f1609
commit 859cc6800b

View File

@ -195,6 +195,9 @@ function configure_tempest() {
fi
fi
# Oslo
iniset $TEMPEST_CONF DEFAULT lock_path $TMPDIR
# Timeouts
iniset $TEMPEST_CONF compute build_timeout $BUILD_TIMEOUT
iniset $TEMPEST_CONF volume build_timeout $BUILD_TIMEOUT