]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Fix ceph-objectstore-tool test missing fd.close()
authorDavid Zafman <dzafman@redhat.com>
Fri, 30 Jan 2015 01:14:39 +0000 (17:14 -0800)
committerDavid Zafman <dzafman@redhat.com>
Wed, 13 May 2015 20:09:13 +0000 (13:09 -0700)
Signed-off-by: David Zafman <dzafman@redhat.com>
src/test/ceph_objectstore_tool.py

index 1f9c8cc6942b9aa6e7076ffb1bad8ddb4736c92d..59172d67598273373bfe5b290ac91a68a22d86c1 100755 (executable)
@@ -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)