deb-heat/heat/tests
Ethan Lynn 6bc753582b Set stack status to FAILED when engine is down
When stack is in status IN_PROGRESS and engine service went down,
the status of stack will forever remain in IN_PROGRESS. This patch
add a db apid to get engine_id from stacklock and try to reset the
stack status to FAILED when engine is back.

Closes-Bug: #1382320
Change-Id: Ica856bb0d56c23a4423fb9476c1986aaacf24108
2015-04-02 11:54:05 +08:00
..
autoscaling Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
aws Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
db Set stack status to FAILED when engine is down 2015-04-02 11:54:05 +08:00
neutron Move provider_net test to separate file 2015-03-27 10:21:50 -04:00
openstack Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
policy Add check_is_admin to common.policy.Enforcer 2013-11-27 22:30:59 +00:00
templates "version" section should be required in template 2014-01-24 09:47:55 +08:00
v1_1 Enable H305 and H307 style checks 2015-01-20 09:47:25 +02:00
__init__.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
common.py Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
fakes.py Fix some new PEP8 errors found at gate 2015-03-24 11:13:50 +08:00
generic_resource.py Move generic resources to properties schema 2015-03-30 12:14:21 +03:00
test_api_aws.py Add additional tests for heat.api.aws package 2015-01-30 17:27:27 +01:00
test_api_cfn_v1.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
test_api_cloudwatch.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
test_api_ec2token.py Merge "Enable SSL for EC2Tokens." 2015-03-26 12:18:50 +00:00
test_api_openstack_v1_util.py Fix [H302] errors in heat/tests 2014-11-26 16:43:56 +03:00
test_api_openstack_v1_views_stacks_view_builder.py Don't import HeatTestCase directly 2014-10-22 14:15:11 +08:00
test_api_openstack_v1_views_views_common.py Don't import HeatTestCase directly 2014-10-22 14:15:11 +08:00
test_api_openstack_v1.py Enforce integer API parameter checking 2015-03-09 09:20:44 +08:00
test_attributes.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_auth_password.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
test_auth_url.py Fix [H302] errors in heat/common 2014-11-20 15:06:53 +00:00
test_ceilometer_alarm.py Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
test_cinder_client.py Use mock instead of mox in clients test 2015-02-26 09:36:05 -05:00
test_clients.py Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
test_cloud_config.py Create an integer id for the resource table 2015-03-11 13:09:36 +10:00
test_cloudwatch.py Move heat resources 2015-03-06 11:05:27 +08:00
test_common_context.py Add user_identity to RequestContext.to_dict() 2015-03-27 14:33:23 +10:00
test_common_param_utils.py Utility function for int param checking 2015-03-03 12:55:43 +08:00
test_common_policy.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
test_common_serializers.py Don't import HeatTestCase directly 2014-10-22 14:15:11 +08:00
test_common_service_utils.py heat-manage service list 2015-02-02 13:05:46 +05:30
test_constraints.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_cw_alarm.py Move heat resources 2015-03-06 11:05:27 +08:00
test_dbinstance.py Don't import HeatTestCase directly 2014-10-22 14:15:11 +08:00
test_dependencies.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_eip.py Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
test_empty_stack.py Fix updating from an empty stack 2014-07-17 21:35:17 +10:00
test_engine_api_utils.py Don't pass the parent_resource object into Stack() 2015-03-03 15:36:05 +10:00
test_engine_service_stack_watch.py Fixes StackWatchService to use objects in place of db 2015-03-18 15:56:50 +05:30
test_engine_service.py Set stack status to FAILED when engine is down 2015-04-02 11:54:05 +08:00
test_engine_worker.py Convergence message bus 2015-02-23 12:29:53 +05:30
test_environment_format.py Add "parameter_defaults" to the environment 2014-12-15 09:44:11 +10:00
test_environment.py Add breakpoint support 2015-03-19 11:40:19 +00:00
test_event.py Unit test case migration for Stack object 2015-03-23 10:02:17 +05:30
test_exception.py Fix some new PEP8 errors found at gate 2015-03-24 11:13:50 +08:00
test_fault_middleware.py Separate message and traceback even if not a remote error 2015-03-16 11:16:38 -05:00
test_function.py Pass the environment into the Template class and not Stack 2015-03-18 10:29:55 +10:00
test_glance_client.py Use mock instead of mox in clients test 2015-02-26 09:36:05 -05:00
test_glance_image.py Move glance image resource 2015-03-06 11:02:43 +08:00
test_grouputils.py Extract group functions into a utility module. 2014-12-04 10:39:31 +08:00
test_heatclient.py Move stack_user_domain warning to startup 2015-03-23 13:07:55 +10:00
test_hot.py Fix common misspellings 2015-03-24 11:35:22 +01:00
test_identifier.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_instance_group_update_policy.py Move heat resources 2015-03-06 11:05:27 +08:00
test_instance_group.py Move heat resources 2015-03-06 11:05:27 +08:00
test_instance_network.py Pass the environment into the Template class and not Stack 2015-03-18 10:29:55 +10:00
test_instance.py Implements stack lifecycle scheduler hints 2015-03-20 15:00:54 -04:00
test_iso_8601.py Move resource inheritance class to engine/resources 2015-03-10 18:07:46 +08:00
test_lifecycle_plugin_utils.py Enable H904 style checking rule 2015-01-20 11:14:06 +02:00
test_loadbalancer.py Use configurable flavor for AWS LoadBalancer 2015-03-11 13:35:51 +00:00
test_loguserdata.py Enable H305 and H307 style checks 2015-01-20 09:47:25 +02:00
test_metadata_refresh.py Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
test_multi_part.py Create an integer id for the resource table 2015-03-11 13:09:36 +10:00
test_nested_stack.py Store Resources before they are created 2015-03-19 00:15:59 -04:00
test_network_interface.py Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
test_nokey.py Move AWS::EC2::* resources to heat/engine/resources/aws/ec2 2015-03-04 09:25:41 +08:00
test_notifications.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
test_nova_client.py Move resource inheritance class to engine/resources 2015-03-10 18:07:46 +08:00
test_nova_floatingip.py Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
test_nova_keypair.py Move nova resources to engine/resources/openstack/nova/ 2015-03-05 09:32:01 +08:00
test_nova_servergroup.py Enable H305 and H307 style checks 2015-01-20 09:47:25 +02:00
test_nova_utils.py Move resource inheritance class to engine/resources 2015-03-10 18:07:46 +08:00
test_os_database.py Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
test_parameters.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_plugin_loader.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_plugin_manager.py Don't import HeatTestCase directly 2014-10-22 14:15:11 +08:00
test_properties.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_provider_template.py Store Resources before they are created 2015-03-19 00:15:59 -04:00
test_random_string.py Move heat resources 2015-03-06 11:05:27 +08:00
test_remote_stack.py Always update remote_stack 2015-03-07 00:44:28 +08:00
test_resource_group.py Make 'refs' attribute of ResourceGroup resource indexable 2015-03-27 04:38:40 -07:00
test_resource.py Create an event when signalling fails 2015-04-02 09:14:52 +10:00
test_restarter.py Move heat resources 2015-03-06 11:05:27 +08:00
test_rpc_client.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_rpc_worker_client.py Remove return for rpc casts in rpc worker client 2015-03-24 23:17:19 +05:30
test_rsrc_defn.py Enable H305 and H307 style checks 2015-01-20 09:47:25 +02:00
test_s3.py Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
test_sahara_client.py Add sahara image constraint 2015-02-26 06:39:24 -05:00
test_sahara_cluster.py Move sahara resources 2015-03-06 11:06:34 +08:00
test_sahara_templates.py Move sahara resources 2015-03-06 11:06:34 +08:00
test_scaling_template.py Don't import HeatTestCase directly 2014-10-22 14:15:11 +08:00
test_scheduler.py Enable H202 style check 2015-01-13 11:36:45 +02:00
test_security_group.py Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
test_server_tags.py Pass the environment into the Template class and not Stack 2015-03-18 10:29:55 +10:00
test_server.py Implements stack lifecycle scheduler hints 2015-03-20 15:00:54 -04:00
test_short_id.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_signal.py Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
test_software_component.py Move heat resources 2015-03-06 11:05:27 +08:00
test_software_config.py Move heat resources 2015-03-06 11:05:27 +08:00
test_software_deployment.py Merge "Allow empty 'config' for software deployments" 2015-03-25 00:31:38 +00:00
test_ssl_middleware.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
test_stack_collect_attributes.py Add way to collect map of needed attributes 2015-03-23 04:31:58 -04:00
test_stack_delete.py Cleanup snapshot records when stack deletion 2015-03-30 01:15:54 +00:00
test_stack_lock.py Versioned-object StackLock 2015-03-23 10:02:29 +05:30
test_stack_resource.py Add breakpoint support 2015-03-19 11:40:19 +00:00
test_stack_update.py Pass the environment into the Template class and not Stack 2015-03-18 10:29:55 +10:00
test_stack_user.py Versioned objects - ResourceData 2015-03-12 13:44:12 +01:00
test_stack.py Merge "Correctly initialize copies of stack during updating stack" 2015-04-02 01:41:10 +00:00
test_structured_config.py Allow empty 'config' for software deployments 2015-03-13 16:57:26 +08:00
test_support.py Check all available support statuses 2015-03-17 12:47:20 +00:00
test_swift_client.py Deployment signal_transport: TEMP_URL_SIGNAL 2015-02-25 13:48:52 +13:00
test_swift.py Move swift resource 2015-03-06 11:04:08 +08:00
test_swiftsignal.py Pass the environment into the Template class and not Stack 2015-03-18 10:29:55 +10:00
test_template_format.py Don't import HeatTestCase directly 2014-10-22 14:15:11 +08:00
test_template.py Pass the environment into the Template class and not Stack 2015-03-18 10:29:55 +10:00
test_timeutils.py Make all assertEqual() calls conform to convention 2014-12-03 19:07:26 +08:00
test_trove_cluster.py Add OS::Trove::Cluster resource 2015-03-17 16:48:01 +02:00
test_urlfetch.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
test_user.py Versioned objects - ResourceData 2015-03-12 13:44:12 +01:00
test_validate.py Pass the environment into the Template class and not Stack 2015-03-18 10:29:55 +10:00
test_version_negotiation_middleware.py Enable H904 style checking rule 2015-01-20 11:14:06 +02:00
test_volume_utils.py Move cinder volume resource 2015-03-05 09:34:10 +08:00
test_vpc.py Switch config deferred_auth_method to trusts by default 2015-03-18 23:35:50 +08:00
test_watch.py Versioned object - WatchRule and WatchData 2015-03-18 14:40:19 +08:00
test_wsgi.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
testing-overview.txt Update testing-overview.txt 2014-12-15 10:55:09 +02:00
utils.py Pass the environment into the Template class and not Stack 2015-03-18 10:29:55 +10:00