core: Fix scale-out refresh graph test
Since the transformer that changed stateless nodes in refresh to NodePlannableResourceInstance is not being used anymore, this test needed to be adjusted to ensure that the right output was expected.
This commit is contained in:
parent
45528b2217
commit
565790d8da
|
@ -59,11 +59,11 @@ func TestNodeRefreshableManagedResourceDynamicExpand_scaleOut(t *testing.T) {
|
||||||
actual := g.StringWithNodeTypes()
|
actual := g.StringWithNodeTypes()
|
||||||
expected := `aws_instance.foo[0] - *terraform.NodeRefreshableManagedResourceInstance
|
expected := `aws_instance.foo[0] - *terraform.NodeRefreshableManagedResourceInstance
|
||||||
aws_instance.foo[1] - *terraform.NodeRefreshableManagedResourceInstance
|
aws_instance.foo[1] - *terraform.NodeRefreshableManagedResourceInstance
|
||||||
aws_instance.foo[2] - *terraform.NodePlannableResourceInstance
|
aws_instance.foo[2] - *terraform.NodeRefreshableManagedResourceInstance
|
||||||
root - terraform.graphNodeRoot
|
root - terraform.graphNodeRoot
|
||||||
aws_instance.foo[0] - *terraform.NodeRefreshableManagedResourceInstance
|
aws_instance.foo[0] - *terraform.NodeRefreshableManagedResourceInstance
|
||||||
aws_instance.foo[1] - *terraform.NodeRefreshableManagedResourceInstance
|
aws_instance.foo[1] - *terraform.NodeRefreshableManagedResourceInstance
|
||||||
aws_instance.foo[2] - *terraform.NodePlannableResourceInstance
|
aws_instance.foo[2] - *terraform.NodeRefreshableManagedResourceInstance
|
||||||
`
|
`
|
||||||
if expected != actual {
|
if expected != actual {
|
||||||
t.Fatalf("Expected:\n%s\nGot:\n%s", expected, actual)
|
t.Fatalf("Expected:\n%s\nGot:\n%s", expected, actual)
|
||||||
|
|
Loading…
Reference in New Issue