5160578e18
In #4700 while fixing a data race I made an incorrect assumption about the return value of StateChangeConf, and ended up changing the behavior in the timeout case to always return: > timeout while waiting for state to become '[success]' When it used to capture the "most recent error" from the function itself. It's much more useful to see that error bubbling up, so here we revert to pulling it out of the function as we did before, and we protect against the data race with a good old fashioned mutex. |
||
---|---|---|
.. | ||
id.go | ||
id_test.go | ||
map.go | ||
map_test.go | ||
resource.go | ||
state.go | ||
state_test.go | ||
testing.go | ||
testing_test.go | ||
wait.go | ||
wait_test.go |