From 9499ec4422df6b5b1260a259d410736be1fd89d4 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Tue, 28 Jul 2020 20:11:54 -0700 Subject: [PATCH] terraform: fix dropped test error --- terraform/context_apply_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terraform/context_apply_test.go b/terraform/context_apply_test.go index e12f5e7b4..524f42533 100644 --- a/terraform/context_apply_test.go +++ b/terraform/context_apply_test.go @@ -118,6 +118,9 @@ func TestContext2Apply_unstable(t *testing.T) { } rs, err := rss.Current.Decode(schema.ImpliedType()) + if err != nil { + t.Fatalf("decode error: %v", err) + } got := rs.Value.GetAttr("random") if !got.IsKnown() { t.Fatalf("random is still unknown after apply")