f21e0255fc
The functional tests devstack gate job currently skips tests that require keystone v3 API. In conjunction with changes to devstack [0] this patch will cause the gate job to use keystone v3 API and stop skipping those tests. Devstack sets auth version in its /etc/swift/test.conf by uncommenting the value found in test/sample.conf, so the change in this patch is sufficient to cause the v3 API to be used. The devstack patch [0] sets the correct auth url for the v3 API and creates a fourth test account that is required for the currently skipped tests to run. [0] change id I557de01bf196075f2f3adcdf4dd1b43756d8a0ae Change-Id: I44e159b939f5e3fc3780612823d12262013ea793
80 lines
2.3 KiB
Plaintext
80 lines
2.3 KiB
Plaintext
[func_test]
|
|
# sample config for Swift with tempauth
|
|
auth_host = 127.0.0.1
|
|
auth_port = 8080
|
|
auth_ssl = no
|
|
auth_prefix = /auth/
|
|
## sample config for Swift with Keystone v2 API
|
|
# For keystone v2 change auth_version to 2 and auth_prefix to /v2.0/
|
|
#auth_version = 3
|
|
#auth_host = localhost
|
|
#auth_port = 5000
|
|
#auth_ssl = no
|
|
#auth_prefix = /v3/
|
|
|
|
# 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
|
|
|
|
# Fourth user is required for keystone v3 specific tests.
|
|
# Account must be in a non-default domain.
|
|
#account4 = test4
|
|
#username4 = tester4
|
|
#password4 = testing4
|
|
#domain4 = test-domain
|
|
|
|
collate = C
|
|
|
|
# Only necessary if a pre-existing server uses self-signed certificate
|
|
insecure = no
|
|
|
|
[unit_test]
|
|
fake_syslog = False
|
|
|
|
[probe_test]
|
|
# check_server_timeout = 30
|
|
# validate_rsync = false
|
|
|
|
[swift-constraints]
|
|
# The functional test runner will try to use the constraint values provided in
|
|
# the swift-constraints section of test.conf.
|
|
#
|
|
# If a constraint value does not exist in that section, or because the
|
|
# swift-constraints section does not exist, the constraints values found in
|
|
# the /info API call (if successful) will be used.
|
|
#
|
|
# If a constraint value cannot be found in the /info results, either because
|
|
# the /info API call failed, or a value is not present, the constraint value
|
|
# used will fall back to those loaded by the constraints module at time of
|
|
# import (which will attempt to load /etc/swift/swift.conf, see the
|
|
# swift.common.constraints module for more information).
|
|
#
|
|
# Note that the cluster must have "sane" values for the test suite to pass
|
|
# (for some definition of sane).
|
|
#
|
|
#max_file_size = 5368709122
|
|
#max_meta_name_length = 128
|
|
#max_meta_value_length = 256
|
|
#max_meta_count = 90
|
|
#max_meta_overall_size = 4096
|
|
#max_header_size = 8192
|
|
#max_object_name_length = 1024
|
|
#container_listing_limit = 10000
|
|
#account_listing_limit = 10000
|
|
#max_account_name_length = 256
|
|
#max_container_name_length = 256
|
|
|
|
# Newer swift versions default to strict cors mode, but older ones were the
|
|
# opposite.
|
|
#strict_cors_mode = true
|