heat/heat/tests
Sirushti Murugesan 5d1027a135 Convergence: Do create operation only if action is INIT
All resources that are new will have an INIT state. Instead
of having a complex strategy to decide whether the resource
should be created or updated, just check for the action
to see if it is in the INIT state or not. If it is not, then
always trigger the update workflow.

Also, this fixes a bug where we triggered a create for a
resource without a resource id that originally should've been
updated because it was in UPDATE_FAILED which was the unhandled
case.

Change-Id: I3f2318fecfe76592e8b54e9c09fdf1614197e83f
2015-08-03 19:12:27 +05:30
..
api Rename api unit test folder name 2015-07-12 23:47:13 -04:00
autoscaling ASG scaling account for cooldown timestamp & in-progress 2015-07-05 23:19:06 -04:00
aws Merge "Use default client in nova" 2015-08-03 09:05:43 +00:00
barbican Use default_client_name for barbican 2015-07-20 10:30:54 +03:00
ceilometer Use default_client_name for ceilometer client 2015-07-20 07:16:23 +00:00
cinder Merge "Add HIDDEN status to Cinder::Volume image_ref" 2015-08-01 00:54:54 +00:00
clients move network constraints from neutron to common constraint 2015-08-03 12:56:34 +08:00
constraints move network constraints from neutron to common constraint 2015-08-03 12:56:34 +08:00
db Merge "Use default client in nova" 2015-08-03 09:05:43 +00:00
engine Convergence: Do create operation only if action is INIT 2015-08-03 19:12:27 +05:30
keystone Use default_client_name for keystone 2015-07-21 17:24:33 +03:00
magnum Import magnum python client directly 2015-08-03 09:35:59 +05:30
manila Add missing test for manila share attributes 2015-07-13 16:55:06 +00:00
mistral Merge "Import mistral python client directly" 2015-07-27 11:43:08 +00:00
neutron Add HIDDEN status to Neutron::Port 2015-07-27 12:53:48 +03:00
nova Merge "Use default client in nova" 2015-08-03 09:05:43 +00:00
openstack Designate Record resource 2015-07-11 08:52:18 +05:30
policy
templates Fixes JSON to YAML conversion bug 2015-06-25 07:32:34 -07:00
__init__.py Override mox in sys.modules to mox3 in a py3 env 2015-07-02 11:41:49 +05:30
common.py Merge "Support to view all attributes of resource" 2015-07-29 04:20:57 +00:00
fakes.py Move signals to SignalResponder class 2015-07-14 10:41:30 -07:00
generic_resource.py Merge "Support to view all attributes of resource" 2015-07-29 04:20:57 +00:00
test_attributes.py Use mock in test_attributes.py instead of mox 2015-07-13 16:30:46 +03:00
test_auth_password.py Remove deprecated headers in auth_password 2015-06-15 06:44:39 +00:00
test_auth_url.py Fix [H302] errors in heat/common 2014-11-20 15:06:53 +00:00
test_cloud_config.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_cloudwatch.py Disable cloud-watch-lite by default 2015-05-31 17:36:13 +08:00
test_common_context.py Remove deprecated headers in auth_password 2015-06-15 06:44:39 +00:00
test_common_param_utils.py Raise HTTPBadRequest instead of ValueError for API validation 2015-05-27 03:48:44 +00:00
test_common_policy.py Switch to oslo.policy 2015-05-29 09:01:45 +00:00
test_common_serializers.py Replace dict.itervalues/dict.iteritems and use len over filter function 2015-04-23 19:45:36 +05:30
test_common_service_utils.py heat-manage service list 2015-02-02 13:05:46 +05:30
test_constraints.py Catch warnings consistently during tests 2015-05-14 17:35:08 +10:00
test_cron_expression.py add new constraints to ceilometer 2015-08-01 01:03:41 +08:00
test_crypt.py Add a new crypt method using cryptography 2015-07-07 10:06:47 +02:00
test_cw_alarm.py Move heat resources 2015-03-06 11:05:27 +08:00
test_dbinstance.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_empty_stack.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_engine_api_utils.py Support to view all attributes of resource 2015-07-28 18:41:17 +08:00
test_engine_service.py Merge "Make convergence functional" 2015-08-03 06:04:24 +00:00
test_engine_service_stack_watch.py Catch warnings consistently during tests 2015-05-14 17:35:08 +10:00
test_environment.py Remove patch_previous_parameters() from Environment 2015-07-28 15:42:54 -04:00
test_environment_format.py py34: test_environment* 2015-08-01 20:50:54 +05:30
test_event.py Coverage: Additional test coverage for engine event 2015-06-17 23:29:42 +05:30
test_exception.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10: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 Move internal test resources to generic_resource 2015-07-24 09:30:06 -04:00
test_glance_image.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_grouputils.py Move internal test resources to generic_resource 2015-07-24 09:30:06 -04:00
test_hot.py Merge "Should execute 'resolve' before check the values of 'for_each'" 2015-07-15 09:12:46 +00:00
test_identifier.py Coverage: Full coverage for heat identifier 2015-06-29 00:01:04 +05:30
test_instance_group.py Fix formula for calc update_timeout in instance group 2015-07-28 09:41:28 -04:00
test_instance_group_update_policy.py Novaclient v2 instead of v1_1 2015-04-03 11:24:59 +02:00
test_lifecycle_plugin_utils.py Enable H904 style checking rule 2015-01-20 11:14:06 +02:00
test_loguserdata.py Enable H305 and H307 style checks 2015-01-20 09:47:25 +02:00
test_metadata_refresh.py Conditionally expose resources based on available services 2015-07-07 14:25:44 +05:30
test_multi_part.py Fix unsupported format character error for multipart mime 2015-07-20 09:05:40 +05:30
test_nested_stack.py Correct stack identity when delete nested 2015-07-28 16:39:01 +08:00
test_nokey.py Novaclient v2 instead of v1_1 2015-04-03 11:24:59 +02:00
test_none_resource.py Add OS::Heat::None resource 2015-07-21 14:37:27 +01:00
test_notifications.py Reduce size of stack_identity in heat notifications 2015-06-29 13:14:50 +00:00
test_os_database.py Use default_client_name for trove 2015-07-17 09:36:27 -04:00
test_parameters.py Fix TypeError on joining list parameters 2015-07-01 18:01:49 -04:00
test_plugin_loader.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_properties.py Merge "Add to TranslationRule REPLACE rule value_path del" 2015-08-01 00:52:53 +00:00
test_provider_template.py Fix `DummyResource missing in provider` error 2015-07-31 16:22:47 +10:00
test_random_string.py Add HIDDEN status to RandomString sequence 2015-07-20 10:53:55 +03:00
test_remote_stack.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_resource.py Merge "Convergence: Don't try to unlock a resource after the DB row is deleted" 2015-08-03 06:04:11 +00:00
test_resource_group.py py34: heat.tests.test_resource 2015-08-01 20:50:55 +05:30
test_restarter.py Stop monkey-patching global namespace 2015-05-28 13:05:15 +00:00
test_rpc_client.py support list resources with details 2015-07-08 17:22:33 +08:00
test_rpc_listener_client.py Move listener rpc client to rpc/listener_client.py 2015-06-19 08:24:19 +05:30
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 Add deprecation warning for ResourceDefinition 2015-06-04 09:34:03 -04:00
test_sahara_cluster.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_sahara_templates.py Generate correct names for sahara templates 2015-07-14 15:33:28 +03:00
test_scaling_template.py Change instances of x.next() to next(x) 2015-04-24 11:49:36 +05:30
test_server_tags.py Retain references to stacks in all unit tests 2015-05-14 16:55:12 -04:00
test_short_id.py Port short_id to return unicode 2015-07-09 07:15:49 +00:00
test_signal.py Move signals to SignalResponder class 2015-07-14 10:41:30 -07:00
test_software_component.py Improve StackValidationFailed response in properties 2015-04-10 15:42:21 +03:00
test_software_config.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_software_deployment.py Make 'server' property of SoftwareDeployment mandatory 2015-07-24 02:42:57 +00:00
test_stack.py py34: heat.tests.db.* 2015-08-01 20:50:55 +05:30
test_stack_collect_attributes.py Register ResourceWithProps in HeatTestCase 2015-06-15 02:43:15 -04:00
test_stack_delete.py Refactor timeout calculation to utility 2015-07-18 08:51:59 +05:30
test_stack_lock.py Move listener rpc client to rpc/listener_client.py 2015-06-19 08:24:19 +05:30
test_stack_resource.py Merge "Correct stack identity when delete nested" 2015-07-29 04:21:07 +00:00
test_stack_update.py Move internal test resources to generic_resource 2015-07-24 09:30:06 -04:00
test_stack_user.py Move registration of resources to HeatTestCase 2015-06-15 02:43:15 -04:00
test_structured_config.py Make 'server' property of SoftwareDeployment mandatory 2015-07-24 02:42:57 +00:00
test_support.py Add previous_status to SupportStatus 2015-06-16 18:05:01 +03:00
test_swift.py Use default_client_name for swift 2015-07-20 10:54:55 +03:00
test_swiftsignal.py Removes replace-on-update for SwiftSignalHandle resource 2015-07-24 08:34:05 -05:00
test_template.py Merge "Removes redundant validation of template (1)" 2015-07-01 08:30:11 +00:00
test_template_format.py Fixes JSON to YAML conversion bug 2015-06-25 07:32:34 -07:00
test_timeutils.py Refactor timeout calculation to utility 2015-07-18 08:51:59 +05:30
test_timezone.py add new constraints to ceilometer 2015-08-01 01:03:41 +08:00
test_trove_cluster.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_urlfetch.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
test_validate.py Fix validation error for parameter group 2015-06-30 11:38:33 +05:30
test_version.py Coverage: Additional test case for better coverage 2015-06-16 13:01:30 +05:30
test_vpc.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_watch.py Heat could not create samples with Ceilometer 2015-05-28 22:18:35 +08:00
test_zaqar_queue.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
testing-overview.txt Update testing-overview.txt 2014-12-15 10:55:09 +02:00
utils.py Add OS::Heat::None resource 2015-07-21 14:37:27 +01:00