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
t; -Original Message-
>> From: Koushik Das [mailto:koushik....@citrix.com]
>> Sent: Tuesday, April 01, 2014 5:48 PM
>> To:
>> Subject: [PROPOSAL] Simulator enhancements
>>
>> The current simulator provides a way to test various Cloudstack features
>
Tuesday, April 01, 2014 5:48 PM
> To:
> Subject: [PROPOSAL] Simulator enhancements
>
> The current simulator provides a way to test various Cloudstack features
> without using actual resources. But its current capabilities are limited
> since it
> only allows success respon
The current simulator provides a way to test various Cloudstack features
without using actual resources. But its current capabilities are limited since
it only allows success response for all agent commands and some ability to
introduce delays. I am proposing some enhancements to the simulator [