mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 16:31:10 -06:00
01b22f4b76
We have various mechanisms that aim to ensure that the installed provider plugins are consistent with the lock file and that the lock file is consistent with the provider requirements, and we do have existing unit tests for them, but all of those cases mock our fake out at least part of the process and in the past that's caused us to miss usability regressions, where we still catch the error but do so at the wrong layer and thus generate error message lacking useful additional context. Here we'll add some new end-to-end tests to supplement the existing unit tests, making sure things work as expected when we assemble the system together as we would in a release. These tests cover a number of different ways in which the plugin selections can grow inconsistent. These new tests all run only when we're in a context where we're allowed to access the network, because they exercise the real plugin installer codepath. We could technically build this to use a local filesystem mirror or other such override to avoid that, but the point here is to make sure we see the expected behavior in the main case, and so it's worth the small additional cost of downloading the null provider from the real registry. |
||
---|---|---|
.. | ||
chdir-option/subdir | ||
custom-provider-install-method | ||
empty | ||
full-workflow-null | ||
local-only-provider | ||
plugin-cache | ||
provider-dev-override | ||
provider-not-found | ||
provider-not-found-non-default | ||
provider-plugin | ||
provider-tampering-base | ||
provider-warnings | ||
provisioner | ||
provisioner-plugin | ||
template-provider | ||
terraform-provider | ||
terraform-providers-mirror | ||
test-provider | ||
vendored-provider |