Created
May 6, 2016 19:42
-
-
Save ntata/6e8d625db45f22517c8801cc4c8e660b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 Tempest Plugin for Functional Tests | |
2 | |
3 This is an in-repo tempest plugin i.e. the plugin resides inside the swift repo | |
4 and requires to install swift inorder to install the plugin. | |
5 | |
6 Directory Structre:~ | |
7 The tempest plugin that resides at swift/test/tempest/ uses a symbolic link | |
8 to functional tests that reside at swift/test/functional. By this, we eliminate | |
9 the possibility of probe and unit tests also get discovered when the top level | |
10 diretory of the tests i.e. swift/test is passed to test_discovery module.~ | |
11 Further, we keep the path to Swift's functional tests intact and let them be | |
12 invoked normally using testr from the swift root diretory. | |
13 | |
14 Alternatively, we can move the functional tests to under the tempest test to | |
15 avoid creation of symlink. In this case, we have to update the import paths of | |
16 all the functional tests and their path in testr config | |
17 | |
18 Current implementation does not include any additional configurations for~ | |
19 enabling tempest to invoke and successfully run Swift's functional tests. If~ | |
20 there is a need to add more config options apart from what is offered in~ | |
21 tempest.conf, we need to create a config.py under swift/test/tempest and pass~ | |
22 its object to the functional tests. Currently, the user credentials for running~ | |
23 functional tests are picked up from /etc/swift/test.conf | |
24 | |
25 Closes-bug: #1571088 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment