The heat_integrationtests.scenario.test_autoscaling_lb
Module¶
-
class
heat_integrationtests.scenario.test_autoscaling_lb.
AutoscalingLoadBalancerTest
(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.scenario.scenario_base.ScenarioTestsBase
The class is responsible for testing ASG + LBv1 scenario.
The very common use case tested is an autoscaling group of some web application servers behind a loadbalancer.
-
test_autoscaling_loadbalancer_neutron
()[source]¶ Check work of AutoScaing and Neutron LBaaS v1 resource in Heat.
- The scenario is the following:
- Launch a stack with a load balancer and autoscaling group of one server, wait until stack create is complete.
- Check that there is only one distinctive response from loadbalanced IP.
- Signal the scale_up policy, wait until all resources in autoscaling group are complete.
- Check that now there are two distinctive responses from loadbalanced IP.
-