@ -40,11 +40,11 @@ func TestPlanApplyInAutomation(t *testing.T) {
// Make sure we actually downloaded the plugins, rather than picking up
// copies that might be already installed globally on the system.
if ! strings . Contains ( stdout , " - Downloading plugin for provider \"template ") {
if ! strings . Contains ( stdout , " Installing registry.terraform.io/hashicorp/template v ") {
t . Errorf ( "template provider download message is missing from init output:\n%s" , stdout )
t . Logf ( "(this can happen if you have a copy of the plugin in one of the global plugin search dirs)" )
}
if ! strings . Contains ( stdout , " - Downloading plugin for provider \"null ") {
if ! strings . Contains ( stdout , " Installing registry.terraform.io/hashicorp/null v ") {
t . Errorf ( "null provider download message is missing from init output:\n%s" , stdout )
t . Logf ( "(this can happen if you have a copy of the plugin in one of the global plugin search dirs)" )
}
@ -135,11 +135,11 @@ func TestAutoApplyInAutomation(t *testing.T) {
// Make sure we actually downloaded the plugins, rather than picking up
// copies that might be already installed globally on the system.
if ! strings . Contains ( stdout , " - Downloading plugin for provider \"template ") {
if ! strings . Contains ( stdout , " Installing registry.terraform.io/hashicorp/template v ") {
t . Errorf ( "template provider download message is missing from init output:\n%s" , stdout )
t . Logf ( "(this can happen if you have a copy of the plugin in one of the global plugin search dirs)" )
}
if ! strings . Contains ( stdout , " - Downloading plugin for provider \"null ") {
if ! strings . Contains ( stdout , " Installing registry.terraform.io/hashicorp/null v ") {
t . Errorf ( "null provider download message is missing from init output:\n%s" , stdout )
t . Logf ( "(this can happen if you have a copy of the plugin in one of the global plugin search dirs)" )
}
@ -202,11 +202,11 @@ func TestPlanOnlyInAutomation(t *testing.T) {
// Make sure we actually downloaded the plugins, rather than picking up
// copies that might be already installed globally on the system.
if ! strings . Contains ( stdout , " - Downloading plugin for provider \"template ") {
if ! strings . Contains ( stdout , " Installing registry.terraform.io/hashicorp/template v ") {
t . Errorf ( "template provider download message is missing from init output:\n%s" , stdout )
t . Logf ( "(this can happen if you have a copy of the plugin in one of the global plugin search dirs)" )
}
if ! strings . Contains ( stdout , " - Downloading plugin for provider \"null ") {
if ! strings . Contains ( stdout , " Installing registry.terraform.io/hashicorp/null v ") {
t . Errorf ( "null provider download message is missing from init output:\n%s" , stdout )
t . Logf ( "(this can happen if you have a copy of the plugin in one of the global plugin search dirs)" )
}