pulumi/tests
Pat Gavlin 5c0b62e1aa
Serialize resource registration after inputs resolve. (#882)
As it stands, we serialize more than is correct when registering
resources: in addition to serializing the RegisterResource RPC, we also
wait for input properties to resolve in the same context. Unfortunately,
this means that we can create cycles in the promise graph when a
resource A is constructed in an earlier turn than some resource B and
one of B's output properties is an input to resource A. These changes
fix this issue by allowing input properties to resolve *before*
serializing the RegisterResource RPC.

Some integration tests had taken a dependency on the ordering of resources in
either the output of the `pulumi` command or the checkpoint file. The
only test that took a dependency on command output was updated s.t. its
resources have exactly one legal topographical sort (and therefore their
ordering is deterministic). The other tests were updated s.t. their
validation did not depend on resource ordering.
2018-02-05 16:29:20 -08:00
..
cloud Enable running integration tests against the service (#775) 2018-01-03 21:26:50 -08:00
integration Serialize resource registration after inputs resolve. (#882) 2018-02-05 16:29:20 -08:00
history_test.go Add "pulumi history" command (#826) 2018-01-24 18:22:41 -08:00
init_test.go Add Pulumi.com backend, unify cobra Commands 2017-11-02 11:19:00 -07:00
main_test.go Improve the overall cloud CLI experience 2017-12-02 14:34:42 -08:00
stack_test.go Fix cloud tests 2017-12-03 06:34:06 -08:00