heat/heat/tests
Rakesh H S 906a0ed6fd Convergence: Fix concurrent update resource delete
In convergence, wherein concurrent updates are possible, if a resource
is deleted (by previous traversal) after dependency graph is created
for new traversal, the resource remains in graph but wouldn't be
available in DB for processing.
It is prerequisite to have resources in DB before any action can be
taken on them.

Hence during convergence resource delete action, the resource entry
from DB is not deleted i.e soft deleted, so that the latest/new update
can find the entry.
All of these soft deleted resources will be deleted when the stack has
completed its operation.

Closes-Bug: #1528560
Change-Id: I0b36ce098022560d7fe01623ce7b66d1d5b38d55
2016-07-05 12:27:37 +05:30
..
api Merge "Sync context with oslo.context" 2016-06-29 02:41:26 +00:00
autoscaling Added refs_map attribute to AutoScalingGroup 2016-06-22 10:25:25 -04:00
aws Merge "del _session(), use context.session directly" 2016-06-30 13:20:38 +00:00
clients Merge "Add keystone_session property to context" 2016-07-01 08:33:37 +00:00
constraints Added heat.resource_type custom constraint 2016-06-20 16:05:30 -04:00
convergence Migrate nova_instance to physical_resource_id 2016-05-17 13:33:43 +05:30
db Convergence: Fix concurrent update resource delete 2016-07-05 12:27:37 +05:30
engine Convergence: Fix concurrent update resource delete 2016-07-05 12:27:37 +05:30
openstack Merge "Migrate to aodh for gnocchi alarms" 2016-07-01 16:23:06 +00:00
policy Add resource_type-specific policies 2015-08-25 15:37:26 +03:00
templates Fixes JSON to YAML conversion bug 2015-06-25 07:32:34 -07:00
__init__.py Switch to mox3 2015-10-02 13:05:51 +05:30
common.py Correct parameter when raise NotSupported exception 2016-07-01 01:43:22 +00:00
fakes.py Add keystone_session property to context 2016-06-27 10:00:00 +05:30
generic_resource.py Correct parameter when raise NotSupported exception 2016-07-01 01:43:22 +00:00
test_attributes.py Support attributes with dynamic scheme 2015-08-10 12:17:01 +03:00
test_auth_password.py Use generic auth plugins 2016-06-07 10:45:09 +05:30
test_auth_url.py Merge "Correctly determine keystone v3 endpoint" 2015-08-13 03:37:24 +00:00
test_common_context.py Sync context with oslo.context 2016-06-17 11:46:00 +10:00
test_common_exception.py Adds error_code in heat exceptions 2015-11-05 18:10:50 +05:30
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 Use oslo.config fixture to avoid gate break 2016-02-19 20:03:31 -05:00
test_common_serializers.py py34: heat.tests.test_common_serializers 2015-08-26 13:09:04 +05:30
test_common_service_utils.py datetime.datetime.utcnow() should be replaced 2015-11-10 17:24:51 +00:00
test_constraints.py Remove warnings in heat 2016-01-20 22:00:52 +08:00
test_convg_stack.py Convergence: Fix concurrent update resource delete 2016-07-05 12:27:37 +05:30
test_crypt.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_dbinstance.py Fix [H405] pep rule in heat/tests 2015-10-12 14:08:16 +03:00
test_empty_stack.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_engine_api_utils.py Merge "Fix the definition of has_nested()" 2016-06-30 13:43:47 +00:00
test_engine_service.py Merge "Sync context with oslo.context" 2016-06-29 02:41:26 +00:00
test_engine_service_stack_watch.py Fix [H405] pep rule in heat/tests 2015-10-12 14:08:16 +03:00
test_environment.py Keep encrypted_param_names environment internal to heat 2016-06-30 18:12:29 +01:00
test_environment_format.py Event transport 2016-01-05 10:22:57 +01:00
test_event.py Use Event versioned object for event_list formatting 2016-06-13 09:39:52 +12:00
test_exception.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_fault_middleware.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_function.py Change assertTrue(isinstance()) by optimal assert 2015-11-02 12:23:22 +01:00
test_grouputils.py Move function for member_definitions to grouputil 2015-11-03 09:04:30 +05:30
test_hacking.py Restrict use of iteritems, iterkeys and itervalues 2016-03-23 10:05:54 +00:00
test_hot.py Decouple hot and cfn for outputs 2016-06-24 10:08:28 +00:00
test_identifier.py Use assertIn and assertNotIn 2015-10-26 22:40:14 +01:00
test_lifecycle_plugin_utils.py Rename test classes for consistency 2016-02-25 09:27:12 -06:00
test_loguserdata.py Remove spurious logs from test_loguserdata 2015-10-29 17:12:34 +01:00
test_metadata_refresh.py Correct message when extension is not available 2016-06-27 11:09:32 +03:00
test_nested_stack.py Use yaml.safe_load() instead of yaml.load() 2016-02-16 21:37:27 +08:00
test_nokey.py Unit tests: Don't use ResourceDefinition as cfn snippet 2016-05-01 19:42:20 -05:00
test_notifications.py Use user id instead of user name in notification body 2015-12-07 08:25:04 -06:00
test_parameters.py string parameter type mismatch 2016-05-24 12:44:01 +00:00
test_plugin_loader.py Use HeatTestCase as parent instead of testtools 2015-03-31 15:17:29 +00:00
test_properties.py Check immutable and update_allowed conflict in schema validation 2016-06-21 16:15:37 +00:00
test_provider_template.py Load template files only from their known source 2016-01-18 19:09:24 -05:00
test_resource.py Convergence: Fix concurrent update resource delete 2016-07-05 12:27:37 +05:30
test_rpc_client.py Implement event list nested-depth 2016-06-14 13:39:38 +12: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 Reinstate deprecation warnings 2016-04-13 19:49:04 -04:00
test_server_tags.py Unit tests: Don't use ResourceDefinition as cfn snippet 2016-05-01 19:42:20 -05:00
test_short_id.py Port short_id to return unicode 2015-07-09 07:15:49 +00:00
test_signal.py Merge "Sync context with oslo.context" 2016-06-29 02:41:26 +00:00
test_stack.py Merge "del _session(), use context.session directly" 2016-06-30 13:20:38 +00:00
test_stack_collect_attributes.py Decouple hot and cfn for outputs 2016-06-24 10:08:28 +00:00
test_stack_delete.py Be consistent about context first argument in db api 2016-06-22 10:45:04 +12:00
test_stack_lock.py Add context to stack lock function arguments 2016-06-22 10:45:04 +12:00
test_stack_resource.py Keep encrypted_param_names environment internal to heat 2016-06-30 18:12:29 +01:00
test_stack_update.py Improve unit tests for stack-update-cancel 2016-06-15 15:08:36 +02:00
test_stack_user.py Move registration of resources to HeatTestCase 2015-06-15 02:43:15 -04:00
test_support.py Replace tag 2015.2 to 5.0.0 2015-08-06 06:29:09 -04:00
test_template.py Decouple hot and cfn for outputs 2016-06-24 10:08:28 +00:00
test_template_files.py del _session(), use context.session directly 2016-06-22 10:45:04 +12:00
test_template_format.py Get rid of gratuitous use of six.iterkeys() 2016-06-07 03:50:49 +00:00
test_timeutils.py Round the elapsed time to the nearest second 2015-09-09 06:59:56 +00:00
test_translation_rule.py Improve translation properties 2016-06-15 13:06:54 +00:00
test_urlfetch.py Set enforce_type=True on config overrides in tests 2016-04-11 10:52:22 +10:00
test_validate.py Correct message when extension is not available 2016-06-27 11:09:32 +03:00
test_version.py Coverage: Additional test case for better coverage 2015-06-16 13:01:30 +05:30
test_vpc.py Unit tests: compare stack names in PhysName 2016-03-10 13:07:29 -05:00
test_watch.py Fixup ceilometerclient tests 2016-01-13 14:51:53 +01:00
testing-overview.txt Add alternative way to use debugger for unittets 2015-08-20 16:28:51 +00:00
utils.py del _session(), use context.session directly 2016-06-22 10:45:04 +12:00