Skip to content

Commit bc18a83

Browse files
committed
Modifiying the test cases errorr for s390x
1 parent 885ac37 commit bc18a83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/asset/agent/installconfig_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ platform:
351351
pullSecret: "{\"auths\":{\"example.com\":{\"auth\":\"authorization value\"}}}"
352352
`,
353353
expectedFound: false,
354-
expectedError: "invalid install-config configuration: [ControlPlane.Architecture: supported values: \"amd64\", \"arm64\", \"ppc64le\", \"s390x\", Compute[0].Architecture: Unsupported value: \"s390x\": supported values: \"amd64\", \"arm64\", \"ppc64le\"]",
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\"]",
355355
},
356356
{
357357
name: "invalid platform.baremetal for architecture ppc64le",
@@ -429,7 +429,7 @@ platform:
429429
pullSecret: "{\"auths\":{\"example.com\":{\"auth\":\"authorization value\"}}}"
430430
`,
431431
expectedFound: false,
432-
expectedError: "invalid install-config configuration: Platform: CPU architecture \"s390x\" only supports platform \"baremetal\".",
432+
expectedError: "invalid install-config configuration: Platform: Invalid value: \"baremetal\": CPU architecture \"s390x\" only supports platform \"none\".",
433433
},
434434
{
435435
name: "unsupported platformName for external platform",

0 commit comments

Comments
 (0)