Skip to content

Commit 5df337c

Browse files
committed
SKIP UPGRADE TEST update upgrade test
1 parent 422a65b commit 5df337c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/pr_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,9 @@ func TestRunSecurityEnforcedUpgradeDASolution(t *testing.T) {
314314
{Name: "existing_cos_instance_crn", Value: permanentResources["general_test_storage_cos_instance_crn"], DataType: "string"},
315315
}
316316
err := options.RunSchematicUpgradeTest()
317-
assert.NoError(t, err, "TestRunSecurityEnforcedUpgradeDASolution using existing RG, KMS and COS Failed")
317+
if !options.UpgradeTestSkipped {
318+
assert.Nil(t, err, "This should not have errored")
319+
}
318320
}
319321

320322
func TestRunExistingResourcesInstances(t *testing.T) {

0 commit comments

Comments
 (0)