Bases: heat_integrationtests.scenario.scenario_base.ScenarioTestsBase
The class is responsible for testing ASG + LBv2 scenario.
The very common use case tested is an autoscaling group
of some web application servers behind a loadbalancer.
-
check_num_responses(url, expected_num, retries=20)[source]
-
setUp()[source]
-
test_autoscaling_loadbalancer_neutron()[source]
Check work of AutoScaing and Neutron LBaaS v2 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.