a574805398
This is quite ugly. Sorry. We ported a set of test from OpenStack Swift's test/unit/commont/test_db.py, the testAccountBroker and testContainerBroker, but because of the divergent nature of the current attempt UFO (Unified File and Object) implementation, it was not possible to use the interface calls directly. Instead, we are using these tests to make sure most of the code paths are exercised, and to define much of the expected behavior. Further refactoring, unit tests and functional test work will help us bring the code base and these tests closer to the originals in upstream OpenStack Swift (as of Havana). Change-Id: I095bb03619de6e7e1378b5252913e39b1ea8bf27 Signed-off-by: Peter Portante <peter.portante@redhat.com> Reviewed-on: http://review.gluster.org/5135 Reviewed-by: Luis Pabon <lpabon@redhat.com> Tested-by: Luis Pabon <lpabon@redhat.com>
17 lines
762 B
Plaintext
17 lines
762 B
Plaintext
[DEFAULT]
|
|
# IP address of a GlusterFS volume server member. By default, we assume the
|
|
# local host.
|
|
mount_ip = localhost
|
|
|
|
# By default it is assumed the Gluster volumes can be accessed using other
|
|
# methods besides UFO (not object only), which disables a caching
|
|
# optimizations in order to keep in sync with file system changes.
|
|
object_only = yes
|
|
|
|
# Performance optimization parameter. When turned off, the filesystem will
|
|
# see a reduced number of stat calls, resulting in substantially faster
|
|
# response time for GET and HEAD container requests on containers with large
|
|
# numbers of objects, at the expense of an accurate count of combined bytes
|
|
# used by all objects in the container. For most installations "off" works
|
|
# fine.
|
|
accurate_size_in_listing = off |