Merge pull request #25694 from alrs/alrs/terraform-test-err
terraform: fix dropped test error
This commit is contained in:
commit
59b7ae8eb4
|
@ -118,6 +118,9 @@ func TestContext2Apply_unstable(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
rs, err := rss.Current.Decode(schema.ImpliedType())
|
rs, err := rss.Current.Decode(schema.ImpliedType())
|
||||||
|
if err != nil {
|
||||||
|
t.Fatalf("decode error: %v", err)
|
||||||
|
}
|
||||||
got := rs.Value.GetAttr("random")
|
got := rs.Value.GetAttr("random")
|
||||||
if !got.IsKnown() {
|
if !got.IsKnown() {
|
||||||
t.Fatalf("random is still unknown after apply")
|
t.Fatalf("random is still unknown after apply")
|
||||||
|
|
Loading…
Reference in New Issue