Skip to content

Commit b5656d3

Browse files
committed
Removing invalid arch for SNO test case as s390x is now supported
1 parent bc18a83 commit b5656d3

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

pkg/asset/agent/installconfig_test.go

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -325,34 +325,6 @@ pullSecret: "{\"auths\":{\"example.com\":{\"auth\":\"authorization value\"}}}"
325325
expectedFound: false,
326326
expectedError: "invalid install-config configuration: [Platform: Unsupported value: \"aws\": supported values: \"baremetal\", \"vsphere\", \"none\", \"external\", Platform: Invalid value: \"aws\": Only platform none and external supports 1 ControlPlane and 0 Compute nodes]",
327327
},
328-
{
329-
name: "invalid architecture for SNO cluster",
330-
data: `
331-
apiVersion: v1
332-
metadata:
333-
name: test-cluster
334-
baseDomain: test-domain
335-
networking:
336-
networkType: OVNKubernetes
337-
compute:
338-
- architecture: s390x
339-
hyperthreading: Enabled
340-
name: worker
341-
platform: {}
342-
replicas: 0
343-
controlPlane:
344-
architecture: s390x
345-
hyperthreading: Enabled
346-
name: master
347-
platform: {}
348-
replicas: 1
349-
platform:
350-
none : {}
351-
pullSecret: "{\"auths\":{\"example.com\":{\"auth\":\"authorization value\"}}}"
352-
`,
353-
expectedFound: false,
354-
expectedError: "invalid install-config configuration: [ControlPlane.Architecture: supported values: \"amd64\", \"arm64\", \"ppc64le\", \"s390x\", Compute[0].Architecture: Unsupported value: \"unsupportedArch\": supported values: \"amd64\", \"arm64\", \"ppc64le\", \"s390x\"]",
355-
},
356328
{
357329
name: "invalid platform.baremetal for architecture ppc64le",
358330
data: `

0 commit comments

Comments
 (0)