diff options
author | Luis Pabon <lpabon@redhat.com> | 2013-05-29 21:19:43 -0400 |
---|---|---|
committer | Peter Portante <pportant@redhat.com> | 2013-06-03 16:52:15 -0700 |
commit | 40c313378e5fffb846f1fd143573a687e2774b28 (patch) | |
tree | dc6dd6e05c8a4abe1eba31bc25f849c86df8be96 /gluster/swift/common/DiskFile.py | |
parent | 31a2ef1935133f224169a1315a91a2d9e9775d9a (diff) |
Copy proxy unit test from OpenStack Swift
This is a copy of the proxy unit test from OpenStack
Swift. The file has minor changes to make it compatible
with Gluster For Swift.
Change-Id: I64a0f8d274461eb2a2c38524c6282e0d3d3d1457
Signed-off-by: Luis Pabon <lpabon@redhat.com>
Reviewed-on: http://review.gluster.org/5113
Reviewed-by: Peter Portante <pportant@redhat.com>
Tested-by: Peter Portante <pportant@redhat.com>
Diffstat (limited to 'gluster/swift/common/DiskFile.py')
-rw-r--r-- | gluster/swift/common/DiskFile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gluster/swift/common/DiskFile.py b/gluster/swift/common/DiskFile.py index c74921b..a3f7987 100644 --- a/gluster/swift/common/DiskFile.py +++ b/gluster/swift/common/DiskFile.py @@ -112,6 +112,7 @@ class Gluster_DiskFile(DiskFile): self.keep_cache = False self.uid = int(uid) self.gid = int(gid) + self.suppress_file_closing = False # Don't store a value for data_file until we know it exists. self.data_file = None |