qa-specs/specs/tempest/implemented/more-selectable-swift-tests.rst
Matthew Treinish c5b1920556
Cleanup the specs repo
This commit bakes several cleanups into one patch. First it clearly
separates devstack and tempest specs by creating a separate tempest
subdir for specs. The next step is moving all implemented specs/bps
into the implemented dir to indicate this. The last is deleting specs
which were outdated and never implemented.

Change-Id: I86331ac279b6a9cdb94ed4c43e5b0c41697e6a7d
2015-07-02 15:12:30 -04:00

1.9 KiB

This work is licensed under a Creative Commons Attribution 3.0 Unported
License.

http://creativecommons.org/licenses/by/3.0/legalcode

More Selectable Swift Tests

https://blueprints.launchpad.net/tempest/+spec/more-selectable-swift-tests

Enable to run API tests more flexibly for various Swift installation

Problem description

Currently, Tempest can select API test cases by referring discoverable_apis config setting in tempest.conf. However, this feature supports only selecting removable functions using WSGI middlewares although Swift has many functional selectabilities other than using middlewares.

Proposed change

Add config parameters in tempest.conf for selecting tests for following Swift body's functionalities.

  • (Old-style) Container Sync: mirroring objects in the container to another container
  • Object Versioning: versioning all objects in the container
  • Discoverability: providing details about the Swift installation

Above features are independent of middleware settings. Whether to use some middlewares or not is defined in Swift's proxy server, on the other hand, container sync and object versioning require settings in storage server and running background daemons. Discoverability function is enabled/disabled at proxy servers, but this function is to expose Swift's installed middlewares and other features, so the setting is independent of middleware settings.

Config values are added in tempest.conf as follows:

[object-storage-feature-enabled]
container_sync=True/False
object_versioning=True/False
discoverability=True/False

Implementation

Assignee(s)

Daisuke Morita <morita.daisuke@lab.ntt.co.jp>

Milestones

Target Milestone for completion:

Juno-3

Work Items

  • Add config values to select tests
  • Insert skip annotations into appropriate test cases