pulumi/tests/integration
Pat Gavlin 94802f5c16
Fix deletes with duplicate URNs. (#1716)
When calculating deletes, we will only issue a single delete step for a
particular URN. This is incorrect in the presence of pending deletes
that share URNs with a live resource if the pending deletes follow the
live resource in the checkpoint: instead of issuing a delete for
every resource with a particular URN, we will only issue deletes for
the pending deletes.

Before first-class providers, this was mostly benigin: any remaining
resources could be deleted by re-running the destroy. With the
first-class provider changes, however, the provider for the undeleted
resources will be deleted, leaving the checkpoint in an invalid state.

These changes fix this issue by allowing the step generator to issue
multiple deletes for a single URN and add a test for this scenario.
2018-08-07 11:01:08 -07:00
..
config_basic Remove need for tsconfig.json 2018-08-06 14:00:58 -07:00
delete_before_create Remove need for tsconfig.json 2018-08-06 14:00:58 -07:00
dependency_steps Remove need for tsconfig.json 2018-08-06 14:00:58 -07:00
diff Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
double_pending_delete Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
duplicate_urns Fix deletes with duplicate URNs. (#1716) 2018-08-07 11:01:08 -07:00
empty Remove need for tsconfig.json 2018-08-06 14:00:58 -07:00
explicit_provider Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
partial_state Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
project_main Remove need for tsconfig.json 2018-08-06 14:00:58 -07:00
project_main_abs Fix pending delete replacement failure (#658) 2017-12-07 09:44:38 -08:00
project_main_parent Fix pending delete replacement failure (#658) 2017-12-07 09:44:38 -08:00
protect_resources Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
read Save resources obtained from ".get" in the snapshot (#1654) 2018-08-03 14:06:00 -07:00
recreate_resource_check Remove need for tsconfig.json 2018-08-06 14:00:58 -07:00
stack_bad_parenting Remove need for tsconfig.json 2018-08-06 14:00:58 -07:00
stack_dependencies Remove need for tsconfig.json 2018-08-06 14:00:58 -07:00
stack_outputs Remove need for tsconfig.json 2018-08-06 14:00:58 -07:00
stack_parenting Remove need for tsconfig.json 2018-08-06 14:00:58 -07:00
stack_project_name Remove need for tsconfig.json 2018-08-06 14:00:58 -07:00
steps Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
integration_test.go Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00