Skip to content

Commit 0378f47

Browse files
Jordan-Williams2Jordan-Williams2
authored andcommitted
fix: schematics test issues
1 parent 0c2ef8e commit 0378f47

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
@@ -163,6 +163,9 @@ func TestRunQuickStartPattern(t *testing.T) {
163163

164164
func TestRunUpgradeQuickStartPattern(t *testing.T) {
165165
t.Parallel()
166+
if enableSchematicsTests {
167+
t.Skip("Skipping terratest for Quickstart Pattern upgrade, running Schematics test instead")
168+
}
166169

167170
options := setupOptionsQuickStartPattern(t, "vsi-qs-u", quickStartPatternTerraformDir)
168171

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

204207
func TestRunUpgradeROKSQuickStartPattern(t *testing.T) {
205208
t.Parallel()
209+
if enableSchematicsTests {
210+
t.Skip("Skipping terratest for ROKS Quickstart Pattern upgrade, running Schematics test instead")
211+
}
206212

207213
options := setupOptionsROKSQuickStartPattern(t, "rokqsu", roksQuickstartPatternTerraformDir)
208214

@@ -252,6 +258,9 @@ func TestRunRoksPattern(t *testing.T) {
252258

253259
func TestRunUpgradeRoksPattern(t *testing.T) {
254260
t.Parallel()
261+
if enableSchematicsTests {
262+
t.Skip("Skipping terratest for ROKS Pattern upgrade, running Schematics test instead")
263+
}
255264

256265
options := setupOptionsRoksPattern(t, "ocp-u")
257266

@@ -301,6 +310,9 @@ func TestRunVSIPattern(t *testing.T) {
301310

302311
func TestRunUpgradeVsiPattern(t *testing.T) {
303312
t.Parallel()
313+
if enableSchematicsTests {
314+
t.Skip("Skipping terratest for VSI Pattern upgrade, running Schematics test instead")
315+
}
304316

305317
options := setupOptionsVsiPattern(t, "vsi-u")
306318

@@ -347,6 +359,9 @@ func TestRunVpcPattern(t *testing.T) {
347359

348360
func TestRunUpgradeVpcPattern(t *testing.T) {
349361
t.Parallel()
362+
if enableSchematicsTests {
363+
t.Skip("Skipping terratest for VPC Pattern upgrade, running Schematics test instead")
364+
}
350365

351366
options := setupOptionsVpcPattern(t, "vpc-ug")
352367

0 commit comments

Comments
 (0)