Browse code

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

Matthew Treinish authored on 2013/07/27 04:22:44
Showing 1 changed files
... ...
@@ -195,6 +195,9 @@ function configure_tempest() {
195 195
         fi
196 196
     fi
197 197
 
198
+    # Oslo
199
+    iniset $TEMPEST_CONF DEFAULT lock_path $TMPDIR
200
+
198 201
     # Timeouts
199 202
     iniset $TEMPEST_CONF compute build_timeout $BUILD_TIMEOUT
200 203
     iniset $TEMPEST_CONF volume build_timeout $BUILD_TIMEOUT