From 621c8b232710c5d827cb56ac776e07fad8d1bee0 Mon Sep 17 00:00:00 2001 From: Thiago da Silva Date: Thu, 31 Oct 2013 12:02:42 -0400 Subject: first gswauth functional tests commiting first gswauth functional tests. Currently there are two tests, to create account and to create an user. Each test is self contained in that it goes through the process of creating and deleting accounts and users as needed. More tests will be added shortly. Change-Id: I26d577790aed8c79c9de11f224516423e9769962 Signed-off-by: Thiago da Silva Reviewed-on: http://review.gluster.org/6188 Reviewed-by: Luis Pabon Tested-by: Luis Pabon Signed-off-by: Thiago da Silva Reviewed-on: http://review.gluster.org/6211 --- test/functional_auth/gswauth/conf/test.conf | 54 +++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 test/functional_auth/gswauth/conf/test.conf (limited to 'test/functional_auth/gswauth/conf/test.conf') diff --git a/test/functional_auth/gswauth/conf/test.conf b/test/functional_auth/gswauth/conf/test.conf new file mode 100644 index 0000000..7f7f5cf --- /dev/null +++ b/test/functional_auth/gswauth/conf/test.conf @@ -0,0 +1,54 @@ +[func_test] +# sample config +auth_host = 127.0.0.1 +auth_port = 8080 +auth_ssl = no +auth_prefix = /auth/ +## sample config for Swift with Keystone +#auth_version = 2 +#auth_host = localhost +#auth_port = 5000 +#auth_ssl = no +#auth_prefix = /v2.0/ + +# GSWauth internal admin user configuration information +admin_key = swauthkey +admin_user = .super_admin + +# Primary functional test account (needs admin access to the account) +account = test +username = tester +password = testing + +# User on a second account (needs admin access to the account) +account2 = test2 +username2 = tester2 +password2 = testing2 + +# User on same account as first, but without admin access +username3 = tester3 +password3 = testing3 + +# Default constraints if not defined here, the test runner will try +# to set them from /etc/swift/swift.conf. If that file isn't found, +# the test runner will skip tests that depend on these values. +# Note that the cluster must have "sane" values for the test suite to pass. +#max_file_size = 5368709122 +#max_meta_name_length = 128 +#max_meta_value_length = 256 +#max_meta_count = 90 +#max_meta_overall_size = 4096 +#max_object_name_length = 1024 +#container_listing_limit = 10000 +#account_listing_limit = 10000 +#max_account_name_length = 256 +#max_container_name_length = 256 +normalized_urls = True + +collate = C + +[unit_test] +fake_syslog = False + +[probe_test] +# check_server_timeout = 30 -- cgit