Merge "Clean up tmp file in more cases"

This commit is contained in:
Zuul 2019-11-13 01:08:01 +00:00 committed by Gerrit Code Review
commit c3cb2c044d

@ -118,11 +118,13 @@ class TestIdentityStorlet(StorletJavaFunctionalTest):
@contextmanager
def _filecontext(self, path):
yield
try:
os.remove(path)
except Exception:
pass
yield
finally:
try:
os.remove(path)
except Exception:
pass
@attr('slow')
def test_put_10MB_file(self):