Skip to content

Commit

Permalink
Comment out non-deterministic test (#2327)
Browse files Browse the repository at this point in the history
Comment out non-deterministic test.

This one was missed in
#2159

Tracked in #2325

fixes #2326
  • Loading branch information
VenelinMartinov authored Aug 20, 2024
1 parent 5f67f63 commit 278e894
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions pkg/tests/schema_pulumi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2331,26 +2331,27 @@ Resources:
// 1 unchanged
// `),
// },
{
"set element removed front",
map[string]interface{}{"setProps": []interface{}{"val1", "val2", "val3"}},
map[string]interface{}{"setProps": []interface{}{"val2", "val3"}},
autogold.Expect(`Previewing update (test):
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:test::test::pulumi:pulumi:Stack::test-test]
~ prov:index/test:Test: (update)
[id=newid]
[urn=urn:pulumi:test::test::prov:index/test:Test::mainRes]
~ setProps: [
~ [0]: "val1" => "val2"
~ [1]: "val2" => "val3"
- [2]: "val3"
]
Resources:
~ 1 to update
1 unchanged
`),
},
// TODO[pulumi/pulumi-terraform-bridge#2325]: Non-deterministic output
// {
// "set element removed front",
// map[string]interface{}{"setProps": []interface{}{"val1", "val2", "val3"}},
// map[string]interface{}{"setProps": []interface{}{"val2", "val3"}},
// autogold.Expect(`Previewing update (test):
// pulumi:pulumi:Stack: (same)
// [urn=urn:pulumi:test::test::pulumi:pulumi:Stack::test-test]
// ~ prov:index/test:Test: (update)
// [id=newid]
// [urn=urn:pulumi:test::test::prov:index/test:Test::mainRes]
// ~ setProps: [
// ~ [0]: "val1" => "val2"
// ~ [1]: "val2" => "val3"
// - [2]: "val3"
// ]
// Resources:
// ~ 1 to update
// 1 unchanged
// `),
// },
{
"set element removed back",
map[string]interface{}{"setProps": []interface{}{"val1", "val2", "val3"}},
Expand Down

0 comments on commit 278e894

Please sign in to comment.