From a709b9f07a9cc99fdee88dc1171a2857b397f631 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Thu, 13 Sep 2018 13:22:41 -0700 Subject: [PATCH] core: Partially fix TestContext2Apply_provisionerDestroyFail tests These need their output strings updated for the new behavior that all resource instances recorded in state have a provider configuration associated, whereas before we only did it for non-default ones. --- terraform/context_apply_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terraform/context_apply_test.go b/terraform/context_apply_test.go index 158264754..da777d443 100644 --- a/terraform/context_apply_test.go +++ b/terraform/context_apply_test.go @@ -5007,6 +5007,7 @@ func TestContext2Apply_provisionerDestroyFail(t *testing.T) { checkStateString(t, state, ` aws_instance.foo: ID = bar + provider = provider.aws `) // Verify apply was invoked @@ -5156,6 +5157,7 @@ func TestContext2Apply_provisionerDestroyFailContinueFail(t *testing.T) { checkStateString(t, state, ` aws_instance.foo: ID = bar + provider = provider.aws `) // Verify apply was invoked