4 Commits

Author SHA1 Message Date
Sheng Yang
f3cf319c37 Automation: Fix clean up in tearDown
We shouldn't clean up class-scope resources(_cleanup). We should create local
ones(cleanup) then clean it.

So:
cls._cleanup would be used for class-scope resources.
self.cleanup would be used for each unit.
2013-07-23 21:20:02 -07:00
Sheng Yang
5b238fa4af Automation: Fix enormous missing tearDown() for test cases
This result in countless test case failure because many test case units didn't
clean up after it.

The regression test result should be improved quite a bit after this change.
2013-07-23 12:10:37 -07:00
Prasanna Santhanam
62c54e77a3 CLOUDSTACK-3655: RvR tests fail when handling switchover
During switchover of master->backup->master, the rvr goes through
UNKNOWN, FAULT, MASTER/BACKUP. In case of improper transition the state
is FAULT. Include additional state check in the tests.
(cherry picked from commit 0c699394f246bc2b052a22d88b3f938ba8a72770)
2013-07-19 17:44:52 +05:30
Prasanna Santhanam
13e1f4fc1e Split Redundant Router tests
Each module of redundant router contains related tests for
services, network rules, upgrades, redundancy etc.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-19 14:32:25 +05:30