Skip to content

Commit a699495

Browse files
Jordan-Williams2Jordan-Williams2
authored andcommitted
fix: schematics test issues
1 parent 2298909 commit a699495

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

patterns/vsi/override.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
{
4848
"buckets": [
4949
{
50-
"endpoint_type": "public",
50+
"endpoint_type": "direct",
5151
"force_delete": true,
5252
"kms_key": "slz-slz-key",
5353
"name": "management-bucket",
@@ -69,7 +69,7 @@
6969
}
7070
},
7171
{
72-
"endpoint_type": "public",
72+
"endpoint_type": "direct",
7373
"force_delete": true,
7474
"kms_key": "slz-slz-key",
7575
"name": "workload-bucket",

tests/pr_test.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ func TestRunQuickStartPattern(t *testing.T) {
166166

167167
func TestRunUpgradeQuickStartPattern(t *testing.T) {
168168
t.Parallel()
169+
if enableSchematicsTests {
170+
t.Skip("Skipping terratest for Quickstart Pattern upgrade, running Schematics test instead")
171+
}
169172

170173
options := setupOptionsQuickStartPattern(t, "vsi-qs-u", quickStartPatternTerraformDir)
171174

@@ -206,6 +209,9 @@ func TestRunROKSQuickStartPattern(t *testing.T) {
206209

207210
func TestRunUpgradeROKSQuickStartPattern(t *testing.T) {
208211
t.Parallel()
212+
if enableSchematicsTests {
213+
t.Skip("Skipping terratest for ROKS Quickstart Pattern upgrade, running Schematics test instead")
214+
}
209215

210216
options := setupOptionsROKSQuickStartPattern(t, "rokqsu", roksQuickstartPatternTerraformDir)
211217

@@ -255,6 +261,9 @@ func TestRunRoksPattern(t *testing.T) {
255261

256262
func TestRunUpgradeRoksPattern(t *testing.T) {
257263
t.Parallel()
264+
if enableSchematicsTests {
265+
t.Skip("Skipping terratest for ROKS Pattern upgrade, running Schematics test instead")
266+
}
258267

259268
options := setupOptionsRoksPattern(t, "ocp-u")
260269

@@ -304,6 +313,9 @@ func TestRunVSIPattern(t *testing.T) {
304313

305314
func TestRunUpgradeVsiPattern(t *testing.T) {
306315
t.Parallel()
316+
if enableSchematicsTests {
317+
t.Skip("Skipping terratest for VSI Pattern upgrade, running Schematics test instead")
318+
}
307319

308320
options := setupOptionsVsiPattern(t, "vsi-u")
309321

@@ -350,6 +362,9 @@ func TestRunVpcPattern(t *testing.T) {
350362

351363
func TestRunUpgradeVpcPattern(t *testing.T) {
352364
t.Parallel()
365+
if enableSchematicsTests {
366+
t.Skip("Skipping terratest for VPC Pattern upgrade, running Schematics test instead")
367+
}
353368

354369
options := setupOptionsVpcPattern(t, "vpc-ug")
355370

0 commit comments

Comments
 (0)