Skip to content

Commit 3862907

Browse files
authored
test: add flow logs and kms to upgrade test (#994)
1 parent bcd4860 commit 3862907

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

tests/pr_test.go

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -104,19 +104,6 @@ func TestRunLandingZoneExample(t *testing.T) {
104104
assert.NotNil(t, output, "Expected some output")
105105
}
106106

107-
func TestRunUpgradeDefaultExample(t *testing.T) {
108-
109-
t.Parallel()
110-
111-
options := setupOptions(t, "slz-vpc-upg", defaultExampleTerraformDir)
112-
113-
output, err := options.RunTestUpgrade()
114-
if !options.UpgradeTestSkipped {
115-
assert.Nil(t, err, "This should not have errored")
116-
assert.NotNil(t, output, "Expected some output")
117-
}
118-
}
119-
120107
func TestRunExistingVPCExample(t *testing.T) {
121108
t.Parallel()
122109

@@ -329,6 +316,10 @@ func TestRunUpgradeFullyConfigurable(t *testing.T) {
329316
{Name: "resource_tags", Value: options.Tags, DataType: "list(string)"},
330317
{Name: "access_tags", Value: permanentResources["accessTags"], DataType: "list(string)"},
331318
{Name: "prefix", Value: options.Prefix, DataType: "string"},
319+
{Name: "enable_vpc_flow_logs", Value: "true", DataType: "bool"},
320+
{Name: "existing_cos_instance_crn", Value: permanentResources["general_test_storage_cos_instance_crn"], DataType: "string"},
321+
{Name: "kms_encryption_enabled_bucket", Value: "true", DataType: "bool"},
322+
{Name: "existing_kms_instance_crn", Value: permanentResources["hpcs_south_crn"], DataType: "string"},
332323
}
333324

334325
err := options.RunSchematicUpgradeTest()

0 commit comments

Comments
 (0)