Prasanna Santhanam
929dd643ca
adding logging with level and timestamp
2012-02-29 12:05:06 +05:30
Prasanna Santhanam
57bf98a0c8
adding retry logic, error handling, and urllib2 used for managing connections
2012-02-29 12:05:06 +05:30
Prasanna Santhanam
1f7c5e3b01
propagating changes from master
2012-02-29 12:05:06 +05:30
Chirag Jog
13ecccff66
Updated the BVT tests with the following changes:
...
1. Ensure we poll + sleep instead of just sleep.
2. Additional checking for SSH command and all list commands.
2012-02-26 23:01:03 -08:00
Prasanna Santhanam
876ad2ba1f
The HTTPConnection object times out too soon when status is being polled. This
...
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>
2012-02-23 18:45:53 +05:30
Chirag Jog
2c4453e116
Add missing __init__.py for imports to work
2012-02-21 03:23:04 -08:00
Chirag Jog
28cadfcd58
Remove Unecessary Files.
...
Minor cleanups.
2012-02-18 12:03:14 -08:00
Chirag Jog
8894b091ad
Add support for P1-tests:
...
1. test_accounts.py
2. test_resource_limits.py
3. test_templates.py
4. test_volumes.py
2012-02-18 11:38:15 -08:00
Chirag Jog
f99a65e59b
Minor fixes to test cases
2012-02-10 09:24:21 -08:00
Edison Su
c54098d0b8
add certiifcate upgrade scripts
2012-02-09 14:35:05 -08:00
Chirag Jog
a046161b56
Extracted common functionality in libs.
...
Added P1-testcases.
Abstracted functionality to behave different for BASIC and ADVANCED networking mode.
2012-02-08 03:07:59 -08:00
Chirag Jog
4c447d92bc
1. Remove complete dependency from settings/environment
...
2. Add account creation/deletion to all relevant tests.
2012-01-25 07:57:05 -08:00
Chirag Jog
b91d919e55
This commit contains the following items:
...
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.
2012-01-24 07:49:37 -08:00
Prasanna Santhanam
8efacc97a6
* when httplib.Connection fails to get response it prevents further requests on
...
the connection - shallow copy and create a new connection object when this
happens
* timeout the SSH client to speed up tests
2012-01-22 22:07:59 +05:30
Chirag Jog
932ac4d8f5
This commit contains the following items:
...
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.
2012-01-22 08:07:40 -08:00
Chirag Jog
cdcf0f2626
Update the README with current information
2012-01-14 21:56:39 -08:00
Chirag Jog
57a4a76691
Add support for the following tests:
...
1. All the Pending Networking tests
2. SSVM Tests
3. CPVM Tests
4. Router Tests
5. Hosts Tests
6. Primary Storage Tests
2012-01-14 21:54:11 -08:00
Chirag Jog
63d4d0312d
1. Add support for ISO tests
...
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.
2012-01-08 22:30:09 -08:00
Chirag Jog
dfe345fb08
Merge branch '2.2.y' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.y
2011-12-29 06:12:35 -08:00
Chirag Jog
e509ec02b2
Uncommented working code for the snapshots tests.
...
Update the README
2011-12-29 06:09:42 -08:00
Chirag Jog
ae0896ccf8
The main features being added are:
...
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
2011-12-29 06:01:22 -08:00
Prasanna Santhanam
32f7e89171
no providers in 2.2.y
2011-12-27 09:05:57 +05:30
Chirag Jog
537d56227b
Minor fixes:
...
1. Update doc strings
2. Remove unecessary imports
2011-12-25 23:37:32 -08:00
Chirag Jog
33a502fe7a
Update the README
2011-12-25 23:31:04 -08:00
Chirag Jog
f1e9f7f1cf
Created BVT Tests for VM Life Cycle and Volumes
...
1. README - Overview of the BVT
2. base.py - Resource classes
3. settings.py - Test data
4. test_vm_life_cycle.py - VM Life Cycle Tests
5. test_volumes.py - Volumes Tests
6. utils.py - Utility functions
2011-12-24 05:33:22 -08:00
Prasanna Santhanam
5338828f76
reverting changes related to provider. not part of 2.2.y
2011-12-15 13:53:37 +05:30
Prasanna Santhanam
059dba39c6
kvm and xen are already part of sandbox/advanced
...
(cherry picked from commit dc1783be18fdfc3c4cbaef0332f2e5a5cf1d1539)
2011-12-15 13:53:37 +05:30
Prasanna Santhanam
9e4a2a23b0
kvm and xen are already part of sandbox/advanced
...
(cherry picked from commit 36bf5be8561acf6fedecc77e7464e630d10e5d12)
2011-12-15 13:53:37 +05:30
Prasanna Santhanam
d70b326063
- some quick environment configuration files
...
- adding service providers for zone configuration
- getting the python framework working with providers
(cherry picked from commit e0dd12619cc2dc32d23cc1f6cd82f01cd9f80b87)
2011-12-15 13:53:36 +05:30
Edison Su
5e447ad17c
bug 11463: simulator uses a seperate db source, to get it faster
...
status 11463: resolved fixed
2011-11-03 17:28:48 -07:00
frank
386683efdd
move cloud-selenium*.jar to tools
2011-08-30 10:45:49 -07:00
Prasanna Santhanam
c140dfa936
1. correcting the global property 2. handling the case if unittest2 is present
2011-08-29 18:42:58 +05:30
Edison Su
580ce19dc3
testClient: add timestamp for sync job
2011-08-25 18:50:28 -07:00
Edison Su
daa1c14559
add missing files
2011-08-25 17:26:31 -07:00
Edison Su
fbdda7d5db
testclient: fix fix asyn job query for sync command
2011-08-25 17:18:47 -07:00
Edison Su
d7726fe59b
TestClient: use json instead of painful XML
2011-08-25 17:18:47 -07:00
Prasanna Santhanam
345f28f9e4
a. Test Discovery is only found in python 2.7+. unittest2 makes it backwards compatible for python 2.4-2.6
...
b. Adding traceback from pymysql to debug problems in connecting with database
2011-08-25 19:54:40 +05:30
Edison Su
7b034a68c0
TESTClient: more features: all the api will go through 8080 with apikey/securitykey, both keys are generated dynamically when you deploy your setup, add list/map type for api, and bug fix
2011-08-24 18:45:11 -07:00
frank
b8b2f03e5f
move migration to tools directory
2011-08-24 10:43:40 -07:00
Edison Su
ef9ab5f7a9
TestClient: fix npe
2011-08-24 10:32:22 -07:00
Sangeetha Hariharan
a5d7d5a02f
Modified Script to accept input params for host/db/number of agents
2011-08-23 17:27:45 -07:00
Sangeetha Hariharan
b0b9012d59
add testcase for zuccihni
2011-08-23 16:42:10 -07:00
Edison Su
019ed5f7a5
TESTClient: async job threads can exit after job pool is empty
2011-08-23 11:44:26 -07:00
Edison Su
49f283f364
add sample code to config advanced zone
2011-08-19 18:05:37 -07:00
Edison Su
3466d3f637
add new testcase class, make testcase pydev friendly
2011-08-19 16:21:16 -07:00
Edison Su
c57ca25d2a
need to update configuration
2011-08-18 10:51:50 -07:00
Edison Su
97e9a0171a
change parameters
2011-08-18 10:51:44 -07:00
Edison Su
c707aeb5da
add more test cases
2011-08-18 10:51:38 -07:00
Edison Su
8fc6e18f46
fix typo
2011-08-18 10:51:34 -07:00
Edison Su
1bc7631bf2
finally, test framework works now
2011-08-18 10:51:31 -07:00