terraform/backend
James Bardin 85d6b1d9cc add test for lock error and force-unlock
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.
2018-02-20 20:32:07 -05:00
..
atlas backend/atlas: accept ATLAS_ADDRESS env var for address 2017-03-16 23:04:07 -07:00
init Migrate Manta Remote state to be a backend 2017-10-30 18:36:50 +02:00
legacy Make backcend/legacy match new Backend iface 2017-02-28 16:35:45 -05:00
local coalesce the backened interrupt code 2018-02-12 11:56:54 -05:00
remote-state Merge pull request #17086 from hashicorp/jbardin/GH-17083 2018-01-17 18:51:43 -05:00
backend.go always wait for a RunningOperation to return 2018-02-12 11:56:03 -05:00
cli.go cli: allow disabling "next steps" message in terraform plan 2017-09-14 10:51:41 -07:00
nil.go Update Backend interface to latest iteration 2017-02-28 16:07:07 -05:00
nil_test.go backend: introduce the backend set of interfaces 2017-01-26 14:33:49 -08:00
operation_type.go backend: introduce the backend set of interfaces 2017-01-26 14:33:49 -08:00
operationtype_string.go Update various files for new version of "stringer" 2017-12-11 13:26:29 -08:00
testing.go add test for lock error and force-unlock 2018-02-20 20:32:07 -05:00