Closed phamann closed 7 years ago
make testacc TEST=./dyn
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./dyn -v -timeout 120m
=== RUN TestProvider
--- PASS: TestProvider (0.00s)
=== RUN TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN TestAccDynRecord_Basic
--- PASS: TestAccDynRecord_Basic (18.06s)
=== RUN TestAccDynRecord_Updated
--- FAIL: TestAccDynRecord_Updated (17.88s)
testing.go:428: Step 1 error: Error applying: 1 error(s) occurred:
* dyn_record.foobar: 1 error(s) occurred:
* dyn_record.foobar: Failed to update Dyn record: server responded with 404 Not Found: {"status": "failure", "data": {}, "job_id": 3952906211, "msgs": [{"INFO": "id: You did not reference a specific record", "SOURCE": "BLL", "ERR_CD": "NOT_FOUND", "LVL": "ERROR"}, {"INFO": "update: No record updated", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}
=== RUN TestAccDynRecord_Multiple
--- PASS: TestAccDynRecord_Multiple (22.75s)
FAIL
exit status 1
FAIL github.com/terraform-providers/terraform-provider-dyn/dyn 58.708s
That single test was constantly failing every day since 5th June, so I'm assuming it's unrelated. Also upgrading the client gives is much more useful error message. 😃 The old one was
* dyn_record.foobar: Failed to update Dyn record: Bad response, got "404 Not Found"
Thanks 👍
@radeksimko What is the process for releasing this provider? This PR was merged a while ago but there hasn't been a release since.
The
go-dynect
client that this provider uses has had multiple improvements over the last year. This simply bumps the pinned vendor version tov0.5.1
. I have ran the tests and all succeeded.This fixes at least these issues, but potentially more:
4 Cannot create MX records
2 Cannot create NS records