From 859cc6800b2375a7c7c49c904ad32a4831c20f88 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Fri, 26 Jul 2013 15:22:44 -0400 Subject: [PATCH] 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 --- lib/tempest | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/tempest b/lib/tempest index b4a579bda8..62da1fcfca 100644 --- a/lib/tempest +++ b/lib/tempest @@ -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