This work is licensed under a Creative Commons Attribution 3.0 Unported License. http://creativecommons.org/licenses/by/3.0/legalcode
Add Swift API tests which are added in Icehouse release (version 1.13.1)
Between Havana and Icehouse releases, some new features are added in Swift. However, Tempest currently has only subset of API tests of those features.
Add API tests for following new functions.
New file test_container_sync_middleware.py will be created to include tests of new container synchronization. Test cases for other two features are added in existing appropriate files.
In new container sync feature, ‘realm’ and ‘cluster’ names are used in “X-Container-Sync-To” header like //<realm_name>/<cluster_name>/<account>/<container> to specify where to synchronize objects as substitute for URL which is used in old-style container sync. Realm and cluster names are defined in Swift’s container-sync-realms.conf, therefore it is also necessary to specify realm and cluster names in tempest.conf. Following two config values must be added:
[object-storage] realm_name=<realm name> cluster_name=<cluster name>