pulumi/tests
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
..
integration Fix deletes with duplicate URNs. (#1716) 2018-08-07 11:01:08 -07:00
main_test.go Require pulumi login before commands that need a backend 2018-04-05 10:19:41 -07:00
new_test.go Add optional --dir flag to pulumi new (#1459) 2018-06-04 13:33:58 -07:00
stack_test.go Use new native typescript support in many tests 2018-08-06 14:00:58 -07:00