summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorSoren Hansen <soren.hansen@rackspace.com>2010-07-15 10:52:11 -0500
committerSoren Hansen <soren.hansen@rackspace.com>2010-07-15 10:52:11 -0500
commit122fe2b75f635df0aa3858d05ed6775b76a9776e (patch)
tree3ea1bb9576e81171f023e80bdc3900cb99a2034f /nova/tests
parent89157b250032e5a819742e4ed537222898bcdf25 (diff)
parent97665db528eecc3892beaaaacba2b9d1c3b7c5ea (diff)
Merge with -core's diverged trunk.
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/objectstore_unittest.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/nova/tests/objectstore_unittest.py b/nova/tests/objectstore_unittest.py
index 7f85b8ee5..ca2d31159 100644
--- a/nova/tests/objectstore_unittest.py
+++ b/nova/tests/objectstore_unittest.py
@@ -38,9 +38,12 @@ oss_tempdir = tempfile.mkdtemp(prefix='test_oss-')
# delete tempdirs from previous runs (we don't delete after test to allow
# checking the contents after running tests)
-for path in glob.glob(os.path.abspath(os.path.join(oss_tempdir, '../test_oss-*'))):
- if path != oss_tempdir:
- shutil.rmtree(path)
+# TODO: This fails on the test box with a permission denied error
+# Also, doing these things in a global tempdir means that different runs of
+# the test suite on the same box could clobber each other.
+#for path in glob.glob(os.path.abspath(os.path.join(oss_tempdir, '../test_oss-*'))):
+# if path != oss_tempdir:
+# shutil.rmtree(path)
# create bucket/images path