mirror of https://github.com/hashicorp/terraform
test: Add `http` backend locking test (#38192)
* test: Update TestHTTPBackend so it can be created with pre-existing lock info inside it. This will be used for tests that want to assert the lock info returned with lock errors. * test: Add a test asserting data returned in lock errors from the http backend. * chore: Replace use of `io/ioutil` in http backend * chore: Update changelog entry to link to the original PR https://github.com/hashicorp/terraform/pull/38144 * test: Improve test code commentspull/38193/head
parent
5e4cfd42fa
commit
eab282f617
@ -1,3 +1,5 @@
|
||||
kind: BUG FIXES
|
||||
body: 'backend: Return conflicting lock info from HTTP backend instead of the lock that failed to be taken'
|
||||
body: 'backend/http: Return conflicting lock info from HTTP backend instead of the lock that failed to be taken'
|
||||
time: 2026-02-10T11:39:30.00000-08:00
|
||||
custom:
|
||||
Issue: "38144"
|
||||
Loading…
Reference in new issue