diff options
| author | Monty Taylor <mordred@inaugust.com> | 2010-07-15 08:44:25 -0500 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2010-07-15 08:44:25 -0500 |
| commit | 718c6ce2edeb3dbb96c8353200181f4a6b06a4d3 (patch) | |
| tree | e847e354b621f094c79c7f1fd31a5dc473f153d3 | |
| parent | b41bb8cefa3a03e820375871e8411039f23f6b45 (diff) | |
| download | nova-718c6ce2edeb3dbb96c8353200181f4a6b06a4d3.tar.gz nova-718c6ce2edeb3dbb96c8353200181f4a6b06a4d3.tar.xz nova-718c6ce2edeb3dbb96c8353200181f4a6b06a4d3.zip | |
Disabled a tmpdir cleanup.
| -rw-r--r-- | nova/tests/objectstore_unittest.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nova/tests/objectstore_unittest.py b/nova/tests/objectstore_unittest.py index 89c1d59c5..17946bb2c 100644 --- a/nova/tests/objectstore_unittest.py +++ b/nova/tests/objectstore_unittest.py @@ -41,9 +41,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 |
