85d6b1d9cc
This adds a general test to verify that a remote state backend returns the expected error type when it cannot lock a state. It then extracts the ID reported in the error, and attempts to unlock the state using that ID, which simulated the force-unlock scenario. This is a separate test, since not all backends have persistent locks that can be unlocked later. We also split out the backend test to be called individually as needed. |
||
---|---|---|
.. | ||
atlas | ||
init | ||
legacy | ||
local | ||
remote-state | ||
backend.go | ||
cli.go | ||
nil.go | ||
nil_test.go | ||
operation_type.go | ||
operationtype_string.go | ||
testing.go |