terraform: fix dropped test error

This commit is contained in:
Lars Lehtonen 2020-07-28 20:11:54 -07:00
parent ef071f3d0e
commit 9499ec4422
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2
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")