This is a document to help write tests using the new simulator mock framework.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Writing+tests+leveraging+the+simulator+enhancements
On 18-Apr-2014, at 5:09 PM, Koushik Das wrote:
> I have added this to master as part of commit
> b088821c61c7
I have added this to master as part of commit
b088821c61c77fc7f7f4fa005f4f5fbbac2862f8.
The following test scenarios are also added based on the new changes:
- Deploy VM failure and retry logic due to volume creation failure.
- Deploy VM failure and retry logic due to failure in starting VM.
- Use
There are commands based on which agent state is determined. These commands can
be mocked appropriately to simulate agent status 'Down' which will then trigger
HA on VMs. Is this what you are asking?
On 02-Apr-2014, at 12:55 PM, Murali Reddy
wrote:
>
> Can we explictly control the agent stat
Can we explictly control the agent state as well? Say I want to test VM
HA, Can I be able to set the host status to be disconnected and then
verify that VM's on the host gets migrated?
On 01/04/14 5:47 PM, "Koushik Das" wrote:
>The current simulator provides a way to test various Cloudstack fea
inline
On 02-Apr-2014, at 11:06 AM, Sowmya Krishnan
wrote:
> Thanks for the FS Koushik. I think these enhancements would greatly help in
> enhancing our test suite, including performance tests.
> I have few questions/comments:
>
> 1. You mention about simulating a fixed fault/ fixed failure.
Thanks for the FS Koushik. I think these enhancements would greatly help in
enhancing our test suite, including performance tests.
I have few questions/comments:
1. You mention about simulating a fixed fault/ fixed failure. Does this mean
that when I configure simulator to fail it always keeps f