11 Commits

Author SHA1 Message Date
Talluri
9342f561f7 CLOUDSTACK-1530: Fix integration test scripts in the components folder for imports and ostypeid Fix the integration scripts for nose import and ostypeid corrections
from nose.plugins.attrib import attr

"ostype": 'CentOS 5.3 (64-bit)',

        template = get_template(
                            cls.api_client,
                            cls.zone.id,
                            cls.services["ostype"]
                            )

Signed-off-by: Talluri <Srikanteswararao.Talluri@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-06 13:45:07 +05:30
Prasanna Santhanam
802ddd43ca Summary: Moving the test integration libraries into marvin for CLI work
Detail: Integration tests use these libraries (base,utils,common) for
simplifying the usage of the API. These define the verbs of each
entity's usage (create, delete, add etc). For the CLI to present the
simplified API we'll leverage the integration libraries.

+ Fixes to setup-test-data.sh - kvm and xen each use a different version
of the built-in Cent OS template, 5.5 and 5.3 namely.

At a later point the setup-test-data script needs to be obsoleted.
ostypeids in tests should directly be determined from listOsTypes API
calls

Signed-off-by: Prasanna Santhanam <tsp@apache.org> 1351520707 +0530
2012-10-29 20:23:02 +05:30
Prasanna Santhanam
5e451f899c Summary: Removing dbclient.close calls from integration tests
Detail:  Marvin auto-manages its connections now and there is no need to
call dbclient.close on tearDown of the test setup.

Signed-off-by: Prasanna Santhanam <tsp@apache.org> 1351152797 +0530
2012-10-25 13:44:45 +05:30
Prasanna Santhanam
cef2ad170f Adding more classifications
- maintenance (host goes to maitnenance)
- multihost, multizone, multistorage
2012-09-12 18:48:33 +05:30
Prasanna Santhanam
bb8016e08b Applying tags as attribute decorators for nose 2012-09-12 18:48:32 +05:30
Prasanna Santhanam
b433b1afa6 Various fixes to tests
- Configuration fixes in Security groups and Egress rules
- Fixing white spaces in component test suite
2012-09-12 18:48:31 +05:30
Prasanna Santhanam
8d74305707 Adding tags that identify deployment configurations against test cases
* advanced - Advanced Zone only
* basic  - basic zone without SecurityGroups
* sg - basic zone with security groups
* eip - basic zone with EIP/ELB
* advancedns - Advanced Zone with NetScalers
2012-09-12 18:48:30 +05:30
Prasanna Santhanam
cddcc097b9 Fixing the remoteSSHClient imports, migrate VM, SSVM and router tests 2012-09-12 18:48:30 +05:30
David Nalley
7b7d51cecd apply chip childers licensing patches for the test directory
https://reviews.apache.org/r/5444/
2012-06-26 11:19:58 -04:00
Prasanna Santhanam
4fbf6bb95a Package imports for remoteSSHClient were not correct 2012-05-23 12:24:38 +05:30
Prasanna Santhanam
e29b0dafb6 Moving smoke tests and component tests into the test folder
Reviewed-by: pychecker
2012-05-17 17:01:49 +05:30