chore: modify test action
[skip ci]
This commit is contained in:
parent
ab6e2068c4
commit
6c99c66566
1 changed files with 12 additions and 1 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue