Hi,

This is about $subject.

Plan is to create a test suite which covers the activities around
Autoscaler as much as possible.

Following are the major parts that needs to be there for building this ...


   - Deployer Simulation(Partitions and policies)
   - Message Broker Setup
   - Cloud Controller Simulation

         Topology Events Publisher
Cloud Controller Service Simulator

   - CEP Simulation

Health Statistics Event Messages Publisher

Melan has worked on some of these and patches are committed. We have used
an ActiveMQ server as the MB server since it is easy to use in test cases.

Here are the test cases which came to my mind.
Deployment test cases

   -

   Partition deployment test case
   -

   Autoscaling Policy deployment test case
   -

   Deployment Policy deployment test case

Topology building test cases

These cases will verify whether the in memory object model is updated
correctly according to the topology events received.

   -

   Initialize topology with Complete Topology test case
   -

   Topology updates test case


Health stat event test cases

These cases will verify whether the in memory object model is updated and
required actions are taken correctly according to the health stat events
received.

   -

   Request in flight events test cases
   -

   Instance health stat events test cases(Load average and memory
   consumption)
   -

   Member fault event


Rules test cases

   -

   Minimum rule test case
   -

   Scale up test case
   -

   Scale down test case
   - Terminate all test case



Please add you thoughts and missing pieces if there are.

Thanks.

-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: [email protected] cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Reply via email to