summaryrefslogtreecommitdiff
path: root/functional/tests/compute/v2/test_server.py
Commit message (Collapse)AuthorAgeFilesLines
* move all functional tests to tests moduleSteve Martinelli2016-09-091-308/+0
| | | | | | | | | | | | | | functional tests should be grouped with other tests (unit and integration tests). as part of this commit the "common" module was renamed to just "base", this was done for simplicity. the post_test_hook.sh file was also copied to the functional module since it should live there. a separate change to the infra repo will be made to call the new location, once that is merged we can remove the old one (a new change will also be posted for that) Needed-By: I49d54f009021d65c1ae49faf6b3f0a7acdadd7b3 Change-Id: Ie8c334f6223373b8e06df8bd8466500d2a2c8ede
* Transfer "ip floating CRUD" to "floating ip CRUD"Tang Chen2016-07-201-5/+6
| | | | | | | | | | | | This patch does the following things to transfer "ip floating xxx" to "floating ip xxx": * Add new command "floating ip create/delete/list/show", and doc. * Deprecate "ip floating create/delete/list/show" command. Change-Id: Ib071acaac81988431244e858bddafa7f93403df5 Implements: blueprint rework-ip-commands Closes-bug: 1555990 Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
* Deduplicate get_opts methodsKyrylo Romanenko2016-07-051-9/+9
| | | | | | | | One get_opts method can work instead of get_list_opts and get_show_opts both. Remove mutable default value. Change-Id: I9c5683d416f0f3ed4989abab6f152b0341e30a4f
* Improve server functional testsRichard Theis2016-06-231-10/+18
| | | | | | | | | | | | Patch set [1] fixed timing issues related to the server functional tests. As part of the review, additional enhancements were suggested. This patch set provides those enhancements. In particular, the functional tests will now check for the cirros256 flavor and the cirros-*-uec image. [1] https://review.openstack.org/#/c/313870/ Change-Id: I7fe18e26b3d09db92bbe669ffafcd16618cae383
* Fix functest "test_server_metadata()" in test_sever.pyHuanxuan Ao2016-05-281-0/+8
| | | | | | | | There is only a functional test for "server set" command in test_server_metadata(), we also need a functional test for "server unset" command, so I add it in this patch. Change-Id: I23c40ac1c5adcc2563d8aa9dcb5551df695e98e3
* Fix functional test for floatingip add/remove in ComputeV2Huanxuan Ao2016-05-111-6/+3
| | | | | | Updata test_server_attach_detach_floating_ip in test_server.py Change-Id: I2963991dfafbb17431b44e2f37bb26fa4daac9aa
* Fix functional test failuresRichard Theis2016-05-071-9/+11
| | | | | | | | | | | There have been a lot of functional test failures for compute and network. I believe they are timing related in that the test_server is sometimes booting a server with a flavor, image and/or network created by another functional test. Such resources are then deleted by the owning functional tests causing various types of failures Change-Id: Ib82edd487da46610374fb0eb5796cb98f2d3aa2c
* bump timeout to prevent gate failuresSteve Martinelli2016-05-051-1/+1
| | | | | | | attempt to fix the transient gate failures by increasing the timeout Change-Id: I837652013f94b0d1ed3f4b40fe14ce5a47c687b6
* Replace tempest-lib with tempest.libDaniel Gonzalez2016-04-291-2/+2
| | | | | | | | | tempest-lib is deprecated, so replace it with tempest.lib. Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com> Change-Id: I0495eba110bb7581623fbcf49dc63a27e9cb6d64 Closes-Bug: #1553047
* Merge "Update tests for server"Jenkins2016-04-201-56/+181
|\
| * Update tests for serverKyrylo Romanenko2016-04-201-57/+181
| | | | | | | | | | | | | | | | | | | | Make testcases separate instances of test class. Use setUp with addCleanup methods for every test case. Add more descriptive docstrings for tests. Closes-Bug: #1483422 Partial-Bug: #1566962 Change-Id: I1a16b5bad1dafd19fd7dc94794c0bd4587b7f516
* | Use CommandFailed exception from tempest_libKyrylo Romanenko2016-04-131-1/+1
|/ | | | | | | Remove exceptions.py from functional/common. Import exception with the same code from the tempest_lib to tests. Change-Id: Ifaa658209c18dd608836079f57ed18fcf10fb84e
* Merge "Remove superfluous variable assignment statements"Jenkins2016-03-211-2/+0
|\
| * Remove superfluous variable assignment statementsKyrylo Romanenko2016-03-211-2/+0
| | | | | | | | | | | | wait and interval are already defaulted in the function signature Change-Id: I66317a24f8327c464343ac13fc0126c34915eeda
* | Style fix for one line docstring according to flake8Kyrylo Romanenko2016-03-211-1/+1
|/ | | | Change-Id: I639819a5b1d8a476cdd8b340b8c339754f471048
* Defaults are ignored with flake8Tom Cocozzello2016-02-231-3/+3
| | | | | | | | | | | | If “ignore” is not set under flake8 in the tox.ini file there there are defaults set to be ignored. The depended patch fixes many of the problems. Change-Id: Ieed2fe1c4654e201d3fe6d40ef93e247ee736f8b Doc: http://flake8.readthedocs.org/en/latest/config.html#default Depends-On: I935ab48e7c5bac5f88ecdb3a05f73fb44fc9f41d Closes-Bug: #1548910
* Fix functional tests for Python 3.4Sirushti Murugesan2015-10-121-3/+3
| | | | | | | | * shlex.split() expects a string. Not bytes. * decode the bytestring result of subprocess's communicate() to a string. Change-Id: I209f67a91dc609b1e30cb9e683d3d6ee63d00069
* Automate flavors, networks, and image getTerryHowe2015-08-221-9/+29
| | | | | | | | Functional tests rely on some sort of configuration and rather than configure something right now, how about it pulls something from the middle of the available list. Change-Id: I8147e40e5ee7393d8a8dcf1b0beb48856f28af7e
* Skip functional test: test_server_upSteve Martinelli2015-08-101-0/+3
| | | | | | | | seems like test_server_up is causing intermittent issues in our CI, skipping for now, so we can proceed with merging code. Change-Id: Id41a78e703d7b416dfdc9a7bc95b19a8999192e3 Related-Bug: 1483422
* Add functional tests server rebootTerryHowe2015-07-181-1/+4
| | | | Change-Id: I1699ac826519ccc177159423c7b6727ffaf4abff
* Add functional tests server IP attach and detachTerryHowe2015-07-181-0/+21
| | | | Change-Id: Id87a5474e2df80c9ef84a6c554f12116302a38b3
* Add functional tests for servers that require waitTerryHowe2015-07-181-1/+68
| | | | Change-Id: I4c85b1e303ecb99458594e7743950b0668b3bdfc
* Add functional tests for server CRUDTerryHowe2015-06-111-0/+55
Change-Id: I77f292d47a9bea6a5b486ce513c0c19ec8c845dd