terraform/helper/resource
James Bardin 82be35a797 Fix races in WaitForState
The WaitForState method can't read the result values in a timeout
because they are still owned by the running goroutine. Keep all values
scoped inside the goroutine, and save them into an atomic.Value to be
returned.

Fixes race introduced in #8510
2016-08-30 16:22:21 -04:00
..
error.go helper/resource: Show last state in timeout err message 2016-08-27 21:25:14 +01:00
id.go core: name_prefix names now start with a timestamp 2016-08-17 11:06:28 -07:00
id_test.go core: name_prefix names now start with a timestamp 2016-08-17 11:06:28 -07:00
map.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
map_test.go helper/resource: automatically validate resources 2014-07-08 10:17:36 -07:00
resource.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
state.go Fix races in WaitForState 2016-08-30 16:22:21 -04:00
state_test.go helper/resource: Show last state in timeout err message 2016-08-27 21:25:14 +01:00
testing.go testing: Add ComposeAggregateTestFunc 2016-08-16 19:56:18 +01:00
testing_config.go helper/resource: Add TestStep.PreventPostDestroyRefresh 2016-06-01 19:13:00 +01:00
testing_import_state.go helper/resource: Fix import test harness, which was modifying state 2016-07-15 13:15:47 -06:00
testing_import_state_test.go helper/resource: ImportState test can verify states 2016-05-11 13:02:37 -07:00
testing_test.go testing: Add ComposeAggregateTestFunc 2016-08-16 19:56:18 +01:00
wait.go Another race in resource.Retry 2016-07-29 18:35:54 -04:00
wait_test.go Timing out is not success 2016-06-30 18:07:56 -07:00