From: David Zafman Date: Fri, 30 Jan 2015 01:14:39 +0000 (-0800) Subject: test: Fix ceph-objectstore-tool test missing fd.close() X-Git-Tag: v0.94.7~28^2~11^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ab893d769d2728368f94b035edde750a3fa5e617;p=ceph.git test: Fix ceph-objectstore-tool test missing fd.close() Signed-off-by: David Zafman (cherry picked from commit ece630d5a741ba8c82f55f964f1887cb7fcaa493) --- diff --git a/src/test/ceph_objectstore_tool.py b/src/test/ceph_objectstore_tool.py index 1f9c8cc6942b..59172d675982 100755 --- a/src/test/ceph_objectstore_tool.py +++ b/src/test/ceph_objectstore_tool.py @@ -739,6 +739,7 @@ def main(argv): if ret != 0: logging.error("Bad exit status {ret} from set-bytes to restore object".format(ret=ret)) ERRORS += 1 + fd.close() try: os.unlink(GETNAME)