$ant package-marvin
will create a packaged source tarball of the testclient that is
redistributable and decoupled from the rest of the cloudstack build
reviewed-by: unittest
status 14608: resolved fixed
reviewed-by: Chirag Jog (chirag@clogeny.com)
Set the timeout countdown to start from beginning of each pollAsync instead
of setting it once for the entire run.
1. Replace fetch_api_client with Class object for HTTP Connections.
2. Fetch Host information instead of hard-coding.
3. Fix routers, snapshots tests with minor changes.
status 13234: resolved fixed
Uncomment each decorator to test
- tests run as existing admin
- tests run as new user in new domain
- tests run as new user in existing domain
- tests run as old user in existing domain
- tests run as new domain admin in new domain
status 13234: resolved fixed
reviewed-by: unittest
When multiple tests in a user-decorator suite are run only the first
test runs successfully since the apiKey has been altered to that of a
regular user. Preventing failure of other tests by detecting user
context - user, admin, domain-admin.
@UserName decorator applies to a testSuite class not a testMethod
reviewed-by: Chirag Jog
Each testCase class will use its own logger to distinguish log
messages when multiple suites are run. This will aid debugging
Every cloudstackTestCase will also contiain a class level attr of the
testClient which was previously available only to setUp/tearDown. Now
even setUpClass/tearDownClass can use this attribute.
depends on python's internal socket implementation. Added an explicit 3m
timeout. Test code MUST NOT induce sleeps longer than 3m, instead check status
periodically to keep the HTTPConnection alive.
reviewed-by: Chirag Jog <chirag@clogeny.com>
1. Reduce dependency on settings. (It should be able to run in any environment).
2. Simplify clean up by creating accounts in setup and deleting the account in teardown.
3. Check the list_XXX calls instead of querying the database.
Currently the following tests work per the above logic:
1. test_vm_life_cycle.py
2. test_disk_offerings.py
3. test_service_offerings.py
Rest are work in progress.
1.Tests related KVM Hosts
2.Tests related iSCSI Storage
3.Tests related secondary Storage
4.Split the settings file and added the test data into each of the test cases.
5.Removed environment specific settings for Network related entities.
2. Add support for Template tests
3. Add support for attach/detach ISO VM Life Cycle tests
4. Add support for create Volume/Template from Snapshot tests
5. Add support for Network related tests
6. Cleaned Up Whitespaces from all files.
7. Fixed formating etc.
1. Add support for Snapshot tests
2. Add Support for Disk offerings tests
3. Add Support for Service offerings tests
4. Add Support to test Volume creation for all available disk offerings
5. Rename Server as VirtualMachine