Prasanna Santhanam
2c1c5853e4
CS-14596: check existence of config file before loading
...
Check whether the config file to load cloudstack config is avvailable
in the specified path.
2012-04-23 18:52:44 +05:30
Prasanna Santhanam
c66fa3f815
CS-14025: provide python eggs to easily install the python test framework
...
CS-14025: Status - Resolved Fixed
1. Packaging the marvin test client into an installable egg
2. There is a hudson job (marvin) that creates eggs for a specified
branch
3. Alternatively you can use the package-marvin ant target to get a
source tarball.
2012-04-23 17:57:41 +05:30
kishan
bf3f9b16c1
Add trafficMonitor ping time to pingMap on connect
2012-04-18 15:20:28 +05:30
Alena Prokharchyk
8e715856df
listSSHKeyPairs: list by account/domainid. Also added account/domainId info to sshKeyPair response
2012-04-16 14:19:10 -07:00
Chirag Jog
0b45544e49
Remove Project related tests. They only apply to 3.0+ releases.
2012-04-13 05:39:34 -07:00
Prasanna Santhanam
848bda9910
Merge latest testClient fixes to marvin
...
reviewed-by: unittest
2012-04-12 18:11:59 +05:30
Prasanna Santhanam
37e172a5d6
missing tests directory causes warnings in distutils
...
reviewed-by: ant run
2012-04-11 17:44:35 +05:30
Prasanna Santhanam
19f1e8759e
Package management for the python testclient christened Marvin
...
$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
2012-04-11 17:44:17 +05:30
Prasanna Santhanam
542a876c97
removing the dependency of apidocs on simulator
...
reviewed-by: Frank Zhang
2012-04-11 17:44:09 +05:30
kishan
19a17cbbf3
bug 11520: Include TrafficMonitor hosts also while scanning for direct agents to load
...
status 11520: resolved fixed
2012-04-11 11:36:42 +05:30
Chirag Jog
e33dcfb71d
Remove Cloudstack setup tests.They are covered elsewhere.
...
Minor fixes to routers, accounts and snapshot limits.
2012-04-08 19:28:35 -07:00
Chirag Jog
87b5bc21e3
Bug 14612: Database client returns empty list after one successful query
...
Status 14612: resolved fixed
reviewed-by: Prasanna Santhanam <Prasanna.Santhanam@citrix.com>
Commit to refresh the transaction state
2012-04-06 02:52:26 -07:00
Kelven Yang
1499e49eaa
bug 14618: Protect servlet container from shutting down on unexpected runtime exceptions
...
Reviewed-By: Kelven
2012-04-05 14:54:42 -07:00
Kelven Yang
77ce7db07e
Bug 14301: Perform socket-level only management server pings
...
Reviewed-By: kelven
2012-04-05 14:54:40 -07:00
Prasanna Santhanam
80c624a3d9
reveal the complete exception from the dbClient
...
reviewed-by: Edison Su
2012-04-04 16:41:32 +05:30
Prasanna Santhanam
d30effc0ad
bug 14608: Async timeout counter does not get reset across tests
...
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.
2012-04-04 16:36:06 +05:30
Chirag Jog
2bcc252699
Minor Fix. Ensure to "sync" contents.
2012-04-03 22:55:46 -07:00
Alena Prokharchyk
582e0b4da6
bug 14567: put db entry insertion in try/catch block and fail gracefully when the insertion fails (can happen when 2 MS try to insert the same entry)
...
status 14567: resolved fixed
2012-04-02 14:20:25 -07:00
Chirag Jog
e6cabe217c
Fix Previous Commit.
2012-04-02 10:05:55 -07:00
Chirag Jog
f2371dc684
Fixes:
...
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.
2012-04-02 09:59:11 -07:00
Prasanna Santhanam
a0a0a9f813
Correcting the reported failure message
...
reviewed-by: Edison Su
2012-04-02 18:03:30 +05:30
Kelven Yang
a3be402c3d
bug 14564: Upon management server startup, for detected inactive management server (based on timestamp), perform ping-test before we really mark it as down
...
Reviewed-By: kelven
2012-03-30 16:42:31 -07:00
Abhi
dde4effd79
bug 13873: memory overhead can now be overridden for each version, increasing the overhead for SP2 by 1.5%
2012-03-30 16:22:13 +05:30
Kelven Yang
8852668b48
Bug 14551: add top-level catch clause to protect task/thread from stalling
...
Reviewed-By: Kelven
2012-03-29 18:26:48 -07:00
Prasanna Santhanam
8a4d1c4fda
bug 13234: unit test to test the user decorator
...
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
2012-03-29 19:19:30 +05:30
Prasanna Santhanam
af45d8207d
bug 13234: run tests as a regular user on testClient
...
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
2012-03-29 19:19:08 +05:30
Edison Su
0268665670
bug 13234: add UserName decorator on testcase, in the form of (username, domainName, accountType). status 13234: resolved fixed. Reviewed-by: prasanna
2012-03-29 19:13:12 +05:30
Edison Su
741b604c80
put correct import
2012-03-28 16:47:29 -07:00
Edison Su
e8abfa4d1f
bug 14535: fix multiple data disks attached to a vm, then stop/start failed. status 14535: resolved fixed; Reviewed-by: sheng
2012-03-28 16:42:43 -07:00
Kelven Yang
0028f1771d
bug 14301: suppress expected exceptions from showing annoying stack dump, the message will be logged at TRACE level.
...
Reviewed-By: Kelven
2012-03-28 15:43:25 -07:00
Kelven Yang
7762f1c7d7
bug 14491: use template unique name instead of self-generated UUID name. Reviewed-By: Kelven(with test)
2012-03-28 14:16:29 -07:00
Edison Su
d80f91a80c
bug 10947: apply patch from Maurits; status 10947: resolved fixed
2012-03-28 11:28:41 -07:00
Kelven Yang
510ec31d0c
bug 14301:
...
1) Support HTTP keep-alive in clustering communication channel
2) Increase concurrency level for clustering message delivery
Reviewed-By: Kelven (with unit test)
2012-03-26 23:12:04 -07:00
Kelven Yang
ae14950095
bug 14301:
...
1) Drop synchronized call semantic for ClusterManagerImpl.broadcast()
2) Have no choice now but to use an unbound thread pool to notify upper layer. This is to prevent thread starvation when we have cross-management server waitings.
Reviewed-By: Kelven(with unit test)
2012-03-23 22:43:49 -07:00
Prasanna Santhanam
f4f58091d8
reduce logging verbosity, set level to info
...
reviewed-by: Kishan
2012-03-24 09:54:22 +05:30
Prasanna Santhanam
f91c681545
testCase level logger and testClient class attr
...
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.
2012-03-24 09:54:22 +05:30
Kelven Yang
80abeb7522
bug 14301: fix regressions caused by new clustering transport. Correct usage of HttpClient to avoid socket staying in CLOSE_WAIT state for too long. Reviewed-By: Kelven
2012-03-23 09:04:49 -07:00
Kelven Yang
9feebe8682
bug 14301: Decouple synchronized crosss management server call with clustering transport, remove obsolete code. Reviewed-by: Kelven
...
Conflicts:
server/src/com/cloud/cluster/ClusterServiceServletImpl.java
2012-03-23 09:04:10 -07:00
Kelven Yang
64899e05ec
bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven
...
Conflicts:
server/src/com/cloud/cluster/ClusterServiceServletImpl.java
server/src/com/cloud/cluster/DummyClusterManagerImpl.java
2012-03-23 09:00:45 -07:00
Kelven Yang
66ebcd9df5
Bug 14213: use UUID name in secondary storage for templates. Reviewed-By: edison
2012-03-21 16:43:02 -07:00
Prasanna Santhanam
61b7824db5
correcting the ip sequence
...
corrected the sequence in which private and public IPs of the pods are
generated. each 8bit mask should remain in 0-255 range.
2012-03-21 13:58:51 +05:30
Prasanna Santhanam
9cec7875de
can't append str to logger message
2012-03-21 11:13:45 +05:30
Kelven Yang
b024562869
bug 14301: Decouple synchronized crosss management server call with clustering transport, remove obsolete code. Reviewed-by: Kelven
2012-03-20 16:26:58 -07:00
Kelven Yang
ea92ab72fa
bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven
2012-03-20 16:26:29 -07:00
Edison Su
0b4c0e3e46
bug 7080: fix usage for kvm;Reviewed-by: kishan
2012-03-20 15:04:53 -07:00
frank
c76349ffe1
Bug 14149 - OVM Typo and wrong mountpoint
...
status 14149: resolved fixed
2012-03-19 17:38:57 -07:00
Edison Su
121ac31433
bug 7080: add network usage for kvm, get data from VR. status 7080: resolved fixed
2012-03-19 11:24:10 -07:00
Chirag Jog
ce0700dbbc
Fetch Domain-ids from list instead of picking up fixed values.
...
Fixed tests in Accounts against 2.2.14 build.
2012-03-18 23:03:31 -07:00
Prasanna Santhanam
f4217babe6
adding more logging to router suite
2012-03-16 13:14:19 +05:30
frank
1033fb4a24
fix copying template
2012-03-15 14:41:19 -07:00