Merge pull request #25694 from alrs/alrs/terraform-test-err

terraform: fix dropped test error
This commit is contained in:
James Bardin 2020-08-19 11:37:41 -04:00 committed by GitHub
commit 59b7ae8eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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")