mirror of https://github.com/pulumi/pulumi.git
3e65bc6517
This test had been intermittently failing due to a race condition. Its implementation of `plugin.Provider.Read` was intended to ensure that the cancellation of a refresh operation occurred. As written, it was only able to ensure that the cancellation was requested. These changes ensure that cancellation has been acknowledged by the engine by implementing providing an implementation for `plugin.Provider.Cancel` that closes a channel on which the implementation of `Read` waits. |
||
---|---|---|
.. | ||
destroy.go | ||
diff.go | ||
engine.go | ||
errors.go | ||
events.go | ||
eventsink.go | ||
lifecycle_test.go | ||
plan.go | ||
project.go | ||
refresh.go | ||
snapshot.go | ||
update.go |