chore: modify test action

[skip ci]
This commit is contained in:
Marcel S. Henselin 2026-03-26 14:47:50 +01:00
parent ab6e2068c4
commit 6c99c66566

View file

@ -182,7 +182,7 @@ func TestAccInstance(t *testing.T) {
PreConfig: func() { PreConfig: func() {
t.Logf("testing: %s - %s", t.Name(), "update name and verify") t.Logf("testing: %s - %s", t.Name(), "update name and verify")
}, },
ExpectNonEmptyPlan: true, ExpectNonEmptyPlan: false,
Config: testutils.StringFromTemplateMust( Config: testutils.StringFromTemplateMust(
"testdata/instance_template.gompl", "testdata/instance_template.gompl",
updNameData, updNameData,
@ -196,6 +196,17 @@ func TestAccInstance(t *testing.T) {
defaultNoEncInstanceTestChecks(testInstanceID, updNameData), defaultNoEncInstanceTestChecks(testInstanceID, updNameData),
), ),
}, },
// Expect empty plan after update
{
PreConfig: func() {
t.Logf("testing: %s - %s", t.Name(), "expect empty plan")
},
ExpectNonEmptyPlan: false,
Config: testutils.StringFromTemplateMust(
"testdata/instance_template.gompl",
updNameData,
),
},
// Update size and verify // Update size and verify
{ {
PreConfig: func() { PreConfig: func() {