-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration to terraform-plugin-testing causes panic in existing test suite #1166
Comments
…eoutError, StateRefreshFunc, StateChangeConf, RetryFunc, RetryContext, Retry, RetryError, RetryableError and NonRetryableError Equivalent types and functions are now available in the helper/retry package (#1166)
…st suite (#1167) * helper/resource: Deprecating NotFoundError, UnexpectedStateError, TimeoutError, StateRefreshFunc, StateChangeConf, RetryFunc, RetryContext, Retry, RetryError, RetryableError and NonRetryableError Equivalent types and functions are now available in the helper/retry package (#1166) * Deprecating helper/resource PrefixedUniqueId() and `UniqueId()` (#1167) * Responding to code review feedback (#1167) * Expanding aliases to include helper/id * Expanding contents of changie notes and adding enhancement entries * Updating documentation to refer to import of helper/retry
thanks for this one @bendbennett ✌️ appreciate you getting to the bottom of it. |
i just got around to running this in our test suite and it looks like we've still got issues. the test suite is running on you can see the failed CI run at https://github.com/cloudflare/terraform-provider-cloudflare/actions/runs/4463622325/jobs/7839014466?pr=2272. is there anything else i'm missing here? or have we still got the bug present? |
sorry, you can disregard this 🤦 it looks like there was a bad three way merge that resulted in still using the old packages. removing those made this work as expected 🎉 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
SDK version
Relevant provider source code
// n/a
Terraform Configuration Files
// n/a
Expected Behavior
Following migration to using
terraform-plugin-testing
all passing tests should continue to pass.Actual Behavior
Steps to Reproduce
_test.go
).References
terraform-plugin-testing
causes panic in existing test suite terraform-plugin-testing#93The text was updated successfully, but these errors were encountered: