summaryrefslogtreecommitdiffstats
path: root/test/functional/conf/object-server.conf
diff options
context:
space:
mode:
authorLuis Pabon <lpabon@redhat.com>2013-07-03 13:04:02 -0400
committerLuis Pabon <lpabon@redhat.com>2013-07-03 11:09:26 -0700
commitc52b88965707c0f6a1cd35143161410be0fdfe92 (patch)
tree86eb39433b06a7f4af5894ad003448d922f41db0 /test/functional/conf/object-server.conf
parentceb18f16ccbfecd5ac36c1623629c2c2c33f307a (diff)
Automate functional tests
By storing the functional tests configuration files in the repo, we can now run the functional_tests.sh to setup, run the functional tests, and teardown. Most likely this will be able to be run as a user from the same directory as the repo, but at the moment, the configuration files are copied to /etc/swift. The only requirements are: 1. /etc/swift does not exist. That way the tests will not interfere with an existing deployment. 2. /mnt/gluster-object/test and /mnt/gluster-object/test2 must have been created and setup correctly on an XFS or GlusterFS volume 3. sudo rights without password prompt 4. glusterfs-openstack-swift-* rpm must not be installed on the system Once the requirements are met, you can execute the tests as follows: $ bash tools/functional_tests.sh Change-Id: Icdbcd420355b02e64f294df7298a3e473b343655 Signed-off-by: Luis Pabon <lpabon@redhat.com> Reviewed-on: http://review.gluster.org/5281 Reviewed-by: Peter Portante <pportant@redhat.com>
Diffstat (limited to 'test/functional/conf/object-server.conf')
-rw-r--r--test/functional/conf/object-server.conf36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/functional/conf/object-server.conf b/test/functional/conf/object-server.conf
new file mode 100644
index 0000000..d11705c
--- /dev/null
+++ b/test/functional/conf/object-server.conf
@@ -0,0 +1,36 @@
+[DEFAULT]
+devices = /mnt/gluster-object
+mount_check = false
+bind_port = 6010
+# If not doing the above, setting this value initially to match the number of
+# CPUs is a good starting point for determining the right value.
+workers = 1
+
+[pipeline:main]
+pipeline = object-server
+
+[app:object-server]
+use = egg:gluster_swift#object
+user = root
+log_facility = LOG_LOCAL2
+# Timeout clients that don't read or write to the proxy server after 5
+# seconds.
+conn_timeout = 5
+# For high load situations, once connected to a container server, allow for
+# delays communicating with it.
+node_timeout = 60
+# Adjust this value to match the stripe width of the underlying storage array
+# (not the stripe element size). This will provide a reasonable starting point
+# for tuning this value.
+disk_chunk_size = 65536
+# Adjust this value match whatever is set for the disk_chunk_size
+# initially. This will provide a reasonable starting point for tuning this
+# value.
+network_chunk_size = 65556
+
+[object-replicator]
+vm_test_mode = yes
+
+[object-updater]
+
+[object-auditor]