66 Commits

Author SHA1 Message Date
Daryl Walleck
ed8bef3a03 Changes the namespace from storm to tempest, as well as adding addition tests and improvements
* Changed namespace from storm to tempest
* Added absolute limits service and server personality file tests
* Optimized run time for image metadata tests
* Added additional assertions for create server and rebuild server tests
* Removed any SSH verification until further decisions are made

Change-Id: I5bebd29be382c9404914c7314302670ae09627fc
2011-12-06 16:48:03 -06:00
Jay Pipes
7f75763f54 Fixes LP Bug#899383 - Cleanup config file search
Cleans up a bunch of configuration-related errors
when trying to run tempest out of the box with a
simple call to:

$> nosetests storm

* Raises a sensible error if the config file cannot be found
* Makes it possible to set the config file directory and
  config file name via environment variables
* Removes unnecessary calls to create storm.config.StormConfig()
  and share a configuration object by passing the openstack.Manager's
  config object with the various rest client objects
* Updates the README to show how to make a config file and run
  the tests in tempest

Change-Id: I60e33595b88df596cc9585bcaf18d37ae77d6f2b
2011-12-06 13:53:34 -05:00
Rohit Karajgi
e1b050d01c * Added build_url() utility that returns an endpoint URL based on config parameters
* Updated storm.conf
* Added more properties to Nova config object
* Fixed pep8 and the 'set' typo that came from a vi editor 'set list' fumble

Change-Id: I67a9b7a8708cd64eb26eb9ec15c40b18eb8895de
2011-12-04 17:17:30 -08:00
Rohit Karajgi
cb5d95412e Removed unnecessary 'self' reference
Change-Id: I64de0706d06398f16e77b5b03aff4067298cbdec
2011-12-02 14:27:17 -08:00
James E. Blair
4864b1f338 Update .gitreview with new project name.
Change-Id: I400412dce5b431ab2f220b97c8f63ae701ba726b
2011-11-30 10:59:36 -08:00
Daryl Walleck
416af9271d Added image metadata tests, fixed minor bug in servers service with metadata
Change-Id: Ia77280ce393619c7dc3f700a7fa4c45305a2defb
2011-11-22 22:28:33 -06:00
Jenkins
3e3f1259e0 Merge "Fix numeric header values for kernel_id and ramdisk_id" 2011-11-22 05:53:39 +00:00
Dean Troyer
b61ce966c2 Fix numeric header values for kernel_id and ramdisk_id
Change-Id: I91c1ae3e7c4f3997d2fd4609f9f69d94c49b915e
2011-11-21 23:57:31 -06:00
Jenkins
784f50d692 Merge "Added negative tests for servers" 2011-11-22 01:14:31 +00:00
Daryl Walleck
73a9e7ade6 Added server metadata and image tests. Also added a README for storm.conf
Change-Id: Ic67e7bfccf0e9b45dba24584e9326a27537f3cae
2011-11-16 15:33:55 -06:00
Daryl Walleck
adea1fa839 Added negative tests for servers
Change-Id: I6285045f023881f66e4bb42a6a188c68796ea5f5
2011-11-15 18:36:39 -06:00
Jenkins
8a84d2efc4 Merge "Added server details tests. Also re-added several files that somehow missed the initial commit" 2011-11-15 20:31:19 +00:00
Jenkins
2f9fff94ae Merge "Removed unused imports; whitespace normalization" 2011-11-15 16:14:18 +00:00
Dolph Mathews
36b72559a5 Assert we receive a scoped token & the correct user
Change-Id: If4d133c721ccdb296f38921dde49a02cd47d6742
2011-11-15 07:49:15 -08:00
Dolph Mathews
c3bc09620a Removed unused imports; whitespace normalization
Change-Id: I5e66c170e37f1382ec500cd6ae4a71435de7929f
2011-11-14 10:54:47 -08:00
Dolph Mathews
4556a605e7 Documented availability of 'auth' tag
Change-Id: I06ffd3a9237df881986967376d81d11e9c9f4f98
2011-11-14 10:45:24 -08:00
Daryl Walleck
e5b83d49de Added server details tests. Also re-added several files that somehow missed the initial commit
Change-Id: I23eb08d2589b5c513b38de2476e44d53f21a79a1
2011-11-10 16:40:09 -06:00
Dean Troyer
a8a6ab0264 Fix rabbitmq login
Change-Id: Ic0044adec32ac2cabff7aefe4d11970224ff1cd0
2011-11-10 16:29:20 -06:00
Jenkins
cc0fb757d6 Merge "Initial import of tests from the Zodiac project. On suggestion from Westmaas, imported tests under the nova directory (final naming TBD) to more quickly get them imported. To run these tests, execute 'nosetests nova/tests'. I've also only submitted the most stable of the tests. More to come." 2011-11-10 18:06:20 +00:00
Jenkins
66bb87a5a1 Merge "Tests were not passing for test_servers in Kong tests. Kong was expecting too much information back from the POST." 2011-11-10 04:07:23 +00:00
Daryl Walleck
1465d61ac5 Initial import of tests from the Zodiac project. On suggestion from Westmaas, imported tests under the nova directory
(final naming TBD) to more quickly get them imported. To run these tests, execute 'nosetests nova/tests'.
I've also only submitted the most stable of the tests. More to come.

Change-Id: I2abd961992c02b27c4deaa9f11a49ba91c5b765d

Fixed config defaults

Change-Id: I90d5ea20167caddbec6b4cf51a0df9bb333514cb
2011-11-09 17:20:01 -06:00
Brian Lamar
73aefd3540 Tests were not passing for test_servers in Kong tests. Kong was expecting too much information back from the POST.
Change-Id: Ib74a525f0aa9da67e6af75d6c1a11845df8eabdd
2011-11-03 14:23:55 -04:00
Brian Waldon
883cb26642 Cleaning up kong.tests.test_server_actions
Change-Id: I4b14079ae47f61fc270d4e0554041f85f2185dbc
2011-11-02 11:41:58 -04:00
Brian Waldon
6c9f2ec1de Adding missing kong.common.utils module
Change-Id: I6015e6525205a1cfaaba2fc664cc1212afc2cb08
2011-11-02 11:41:29 -04:00
Brian Waldon
34ffa7e3d2 Removing link doctoring in test_images
Change-Id: I8999b222eae4d6db0779e8fac89c6eb5e08366f8
2011-11-01 14:35:05 -04:00
Jenkins
7bbba80910 Merge "Removed non-testing suggestions" 2011-10-31 19:37:18 +00:00
Brian Waldon
f20e4ed27f Adding identity api v2.0 tests
Change-Id: I955392bd462957208a9b7ce58efa5da7e1a2db47
2011-10-31 15:25:26 -04:00
Brian Waldon
bbb1cfb377 Updating images tests
- Consolidating glance/images test modules.
- Consolidating all glance tests into a single ami-specific test
- Test now cleans up images it pushes into glance
- Updating links for sample ami-style image
- Updating config variables for ami-style image pieces

Change-Id: Ie0aaec36eca8425b687740b289fce6964b13fdbd
2011-10-31 15:23:19 -04:00
Brian Waldon
c062b44000 Further optimize kong.tests.test_servers
I sped up this module by >50% and added much more thorough server
modification testing.

Change-Id: Icfb2d4d65badec8621224395282af18ac275640f
2011-10-31 15:23:19 -04:00
Brian Waldon
0ecfd50fc0 Removing unnecessary printing of config file
Change-Id: Iedc1725ccc46c2c4626edab950dae5f3a6129a5b
2011-10-30 00:32:04 -04:00
Daryl Walleck
49d666e4e5 Removed non-testing suggestions
Change-Id: I49d1499a240f71c06497fd1eb5afafd871547bb8
2011-10-29 22:30:19 -05:00
Brian Waldon
3f6c9d5875 Stop kong/run_tests.sh from building venv each run
Change-Id: I17e077891471e4b5e2c0372b1d2adf735f4df3ca
2011-10-28 11:54:00 -04:00
Brian Waldon
86fd8bc8e7 Relaxing FlavorsTest entity checking
There's already an extension in nova that changes the flavor entity, so
we need to change the check to look for a minimum set of keys.

Change-Id: I585e167908718805e36c9cdb88940e9ca0c06ec5
2011-10-27 19:08:07 -04:00
Brian Waldon
e62141bc50 Adding paramiko and unittest2 to pip-requires
Change-Id: I485e167908718805e36c9cdb88940e9ca0c06ec5
2011-10-27 12:47:05 -04:00
Brian Waldon
52d8622d20 Updating sample config with required values
Change-Id: If547304455dadcaffb870ebcb8421bd9f53d709f
2011-10-27 12:46:21 -04:00
Aaron Lee
84d2f13dce The servers test deal with the new uuid params.
Change-Id: I44e7daf10b77534e49eca411009fbab753ee8fbb
2011-10-25 11:47:47 -05:00
James E. Blair
45333b375c Add .gitreview config file for gerrit.
Change-Id: I68cea1fe92890f10182017936f93a68ee120911d
2011-10-24 14:51:32 -04:00
Aaron Lee
35b8c921e9 test supporting API v1.1
Updating some of the test to support api v1.1

Change-Id: I22c8650d8be02031204b23b7d39c6c6fc5294ca9
2011-10-19 16:23:03 -05:00
Aaron Lee
78dbb64366 Making run_test.sh python version and directory
agnostic

Refactored some of the shell scripts to handle
being run from another directory, as well as to
not force the use of 2.6

edit: format the comments

Change-Id: Id92b9dc82743598b7c570e431cad423c8a2ee95d
2011-10-18 14:24:26 -05:00
Aaron Lee
2355a4b036 Adding generic run_tests.sh
Moving the kong test runners into the kong dir and
adding a generic run_tests.sh

Change-Id: I939c81938891a428f7c094c8a2ff4909e51f755f
2011-10-14 16:24:34 -05:00
James E. Blair
108c28fff0 Add rfc.sh to help with gerrit workflow. 2011-09-09 08:56:58 -07:00
Soren Hansen
a86180afe4 Consolidate configuration some more 2011-09-09 16:28:06 +02:00
Soren Hansen
4480f607c4 Make ServersTest.setUpClass just setUp to make sure we have read the config. 2011-09-09 16:12:35 +02:00
Soren Hansen
fce58c5fa4 Annotate old stacktester tests so that they get run by run_tests.sh --whatever 2011-09-09 16:07:13 +02:00
Soren Hansen
f1bd053f6a Output request to create server call for easier debugging. 2011-09-09 14:25:46 +02:00
Soren Hansen
a01ed3a5f1 Output response from create server call for easier debugging. 2011-09-09 14:21:01 +02:00
Soren Hansen
1e9110fef3 Make the use of a ramdisk optional for tests 2011-09-09 14:18:13 +02:00
Soren Hansen
5f4ad83dc5 Pull in changes from stacktester. 2011-09-09 14:09:05 +02:00
Soren Hansen
45727772b2 Skip Rabbit tests if pika is not available. 2011-09-09 13:48:00 +02:00
Soren Hansen
d6b047aa20 Initialise openstack.Manager() with config from self.nova. 2011-09-09 13:39:32 +02:00