@@ -102,8 +102,8 @@ var _ = Describe("Feature support levels API", func() {
102
102
})
103
103
104
104
Context ("Update cluster" , func () {
105
- It ("Update umn true won't fail on 4.13 with multi release without infra-env" , func () {
106
- cluster , err := registerNewCluster ("4.13 -multi" , common .MultiCPUArchitecture , models .ClusterHighAvailabilityModeFull , swag .Bool (true ))
105
+ It ("Update umn true won't fail on 4.16 with multi release without infra-env" , func () {
106
+ cluster , err := registerNewCluster ("4.16 -multi" , common .MultiCPUArchitecture , models .ClusterHighAvailabilityModeFull , swag .Bool (true ))
107
107
Expect (err ).NotTo (HaveOccurred ())
108
108
Expect (cluster .Payload .CPUArchitecture ).To (Equal (common .MultiCPUArchitecture ))
109
109
@@ -116,13 +116,13 @@ var _ = Describe("Feature support levels API", func() {
116
116
Expect (err ).NotTo (HaveOccurred ())
117
117
})
118
118
119
- It ("Update umn true fail on 4.13 with s390x with infra-env" , func () {
120
- expectedError := "cannot use Cluster Managed Networking because it's not compatible with the s390x architecture on version 4.13 "
121
- cluster , err := registerNewCluster ("4.13 -multi" , common .S390xCPUArchitecture , models .ClusterHighAvailabilityModeFull , swag .Bool (true ))
119
+ It ("Update umn true fail on 4.16 with s390x with infra-env" , func () {
120
+ expectedError := "cannot use Cluster Managed Networking because it's not compatible with the s390x architecture on version 4.16 "
121
+ cluster , err := registerNewCluster ("4.16 -multi" , common .S390xCPUArchitecture , models .ClusterHighAvailabilityModeFull , swag .Bool (true ))
122
122
Expect (err ).NotTo (HaveOccurred ())
123
123
Expect (cluster .Payload .CPUArchitecture ).To (Equal (common .MultiCPUArchitecture ))
124
124
125
- infraEnv , err := registerNewInfraEnv (cluster .Payload .ID , "4.13 " , "s390x" )
125
+ infraEnv , err := registerNewInfraEnv (cluster .Payload .ID , "4.16 " , "s390x" )
126
126
Expect (err ).NotTo (HaveOccurred ())
127
127
Expect (infraEnv .Payload .CPUArchitecture ).To (Equal ("s390x" ))
128
128
@@ -138,8 +138,8 @@ var _ = Describe("Feature support levels API", func() {
138
138
})
139
139
140
140
It ("Create infra-env after updating OLM operators on s390x architecture " , func () {
141
- expectedError := "cannot use OpenShift Virtualization because it's not compatible with the s390x architecture on version 4.13 "
142
- cluster , err := registerNewCluster ("4.13 -multi" , common .S390xCPUArchitecture , models .ClusterHighAvailabilityModeFull , swag .Bool (true ))
141
+ expectedError := "cannot use OpenShift Virtualization because it's not compatible with the s390x architecture on version 4.16 "
142
+ cluster , err := registerNewCluster ("4.16 -multi" , common .S390xCPUArchitecture , models .ClusterHighAvailabilityModeFull , swag .Bool (true ))
143
143
Expect (err ).NotTo (HaveOccurred ())
144
144
Expect (cluster .Payload .CPUArchitecture ).To (Equal (common .MultiCPUArchitecture ))
145
145
@@ -155,13 +155,13 @@ var _ = Describe("Feature support levels API", func() {
155
155
})
156
156
Expect (err ).ToNot (HaveOccurred ())
157
157
158
- _ , err = registerNewInfraEnv (cluster .Payload .ID , "4.13 " , "s390x" )
158
+ _ , err = registerNewInfraEnv (cluster .Payload .ID , "4.16 " , "s390x" )
159
159
err2 := err .(* installer.RegisterInfraEnvBadRequest )
160
160
ExpectWithOffset (1 , * err2 .Payload .Reason ).To (ContainSubstring (expectedError ))
161
161
})
162
162
Context ("UpdateInfraEnv" , func () {
163
163
It ("Update ppc64le infra env minimal iso without cluster" , func () {
164
- infraEnv , err := registerNewInfraEnv (nil , "4.12 " , models .ClusterCPUArchitecturePpc64le )
164
+ infraEnv , err := registerNewInfraEnv (nil , "4.16 " , models .ClusterCPUArchitecturePpc64le )
165
165
Expect (err ).ToNot (HaveOccurred ())
166
166
Expect (common .ImageTypeValue (infraEnv .Payload .Type )).ToNot (Equal (models .ImageTypeMinimalIso ))
167
167
@@ -174,10 +174,10 @@ var _ = Describe("Feature support levels API", func() {
174
174
Expect (common .ImageTypeValue (updatedInfraEnv .Payload .Type )).To (Equal (models .ImageTypeMinimalIso ))
175
175
})
176
176
It ("Update ppc64le infra env minimal iso with cluster" , func () {
177
- cluster , err := registerNewCluster ("4.12 " , models .ClusterCPUArchitecturePpc64le , models .ClusterHighAvailabilityModeFull , swag .Bool (true ))
177
+ cluster , err := registerNewCluster ("4.16 " , models .ClusterCPUArchitecturePpc64le , models .ClusterHighAvailabilityModeFull , swag .Bool (true ))
178
178
Expect (err ).NotTo (HaveOccurred ())
179
179
180
- infraEnv , err := registerNewInfraEnv (cluster .Payload .ID , "4.12 " , models .ClusterCPUArchitecturePpc64le )
180
+ infraEnv , err := registerNewInfraEnv (cluster .Payload .ID , "4.16 " , models .ClusterCPUArchitecturePpc64le )
181
181
Expect (err ).ToNot (HaveOccurred ())
182
182
Expect (common .ImageTypeValue (infraEnv .Payload .Type )).ToNot (Equal (models .ImageTypeMinimalIso ))
183
183
@@ -190,10 +190,10 @@ var _ = Describe("Feature support levels API", func() {
190
190
Expect (common .ImageTypeValue (updatedInfraEnv .Payload .Type )).To (Equal (models .ImageTypeMinimalIso ))
191
191
})
192
192
It ("Update s390x infra env minimal iso with cluster - fail" , func () {
193
- cluster , err := registerNewCluster ("4.12 " , "s390x" , models .ClusterHighAvailabilityModeFull , swag .Bool (true ))
193
+ cluster , err := registerNewCluster ("4.16 " , "s390x" , models .ClusterHighAvailabilityModeFull , swag .Bool (true ))
194
194
Expect (err ).NotTo (HaveOccurred ())
195
195
196
- infraEnv , err := registerNewInfraEnv (cluster .Payload .ID , "4.12 " , models .ClusterCPUArchitectureS390x )
196
+ infraEnv , err := registerNewInfraEnv (cluster .Payload .ID , "4.16 " , models .ClusterCPUArchitectureS390x )
197
197
Expect (err ).ToNot (HaveOccurred ())
198
198
Expect (common .ImageTypeValue (infraEnv .Payload .Type )).ToNot (Equal (models .ImageTypeMinimalIso ))
199
199
@@ -204,41 +204,41 @@ var _ = Describe("Feature support levels API", func() {
204
204
}})
205
205
Expect (err ).To (HaveOccurred ())
206
206
err2 := err .(* installer.UpdateInfraEnvBadRequest )
207
- ExpectWithOffset (1 , * err2 .Payload .Reason ).To (ContainSubstring ("cannot use Minimal ISO because it's not compatible with the s390x architecture on version 4.12 " ))
207
+ ExpectWithOffset (1 , * err2 .Payload .Reason ).To (ContainSubstring ("cannot use Minimal ISO because it's not compatible with the s390x architecture on version 4.16 " ))
208
208
})
209
209
})
210
210
})
211
211
212
212
Context ("Register cluster" , func () {
213
- It ("Register cluster won't fail on 4.13 with s390x" , func () {
214
- cluster , err := registerNewCluster ("4.13 " , "s390x" , models .ClusterHighAvailabilityModeFull , swag .Bool (true ))
213
+ It ("Register cluster won't fail on 4.16 with s390x" , func () {
214
+ cluster , err := registerNewCluster ("4.16 " , "s390x" , models .ClusterHighAvailabilityModeFull , swag .Bool (true ))
215
215
Expect (err ).NotTo (HaveOccurred ())
216
216
Expect (cluster .Payload .CPUArchitecture ).To (Equal (common .S390xCPUArchitecture ))
217
217
})
218
218
219
- It ("Register cluster won't fail on 4.13 with s390x without UMN" , func () {
220
- cluster , err := registerNewCluster ("4.13 " , "s390x" , models .ClusterHighAvailabilityModeFull , nil )
219
+ It ("Register cluster won't fail on 4.16 with s390x without UMN" , func () {
220
+ cluster , err := registerNewCluster ("4.16 " , "s390x" , models .ClusterHighAvailabilityModeFull , nil )
221
221
Expect (err ).NotTo (HaveOccurred ())
222
222
Expect (cluster .Payload .CPUArchitecture ).To (Equal (common .S390xCPUArchitecture ))
223
223
})
224
224
225
- It ("SNO with s390x 4.10 fails on architecture- failure" , func () {
225
+ It ("SNO with s390x 4.16 fails on architecture- failure" , func () {
226
226
expectedError := "Requested CPU architecture s390x is not available"
227
- _ , err := registerNewCluster ("4.10 " , "s390x" , models .ClusterHighAvailabilityModeNone , swag .Bool (true ))
227
+ _ , err := registerNewCluster ("4.16 " , "s390x" , models .ClusterHighAvailabilityModeNone , swag .Bool (true ))
228
228
Expect (err ).To (HaveOccurred ())
229
229
err2 := err .(* installer.V2RegisterClusterBadRequest )
230
230
ExpectWithOffset (1 , * err2 .Payload .Reason ).To (ContainSubstring (expectedError ))
231
231
})
232
- It ("SNO with s390x fails on SNO isn't compatible with architecture success on 4.13 " , func () {
233
- cluster , err := registerNewCluster ("4.13 " , "s390x" , models .ClusterHighAvailabilityModeNone , nil )
232
+ It ("SNO with s390x fails on SNO isn't compatible with architecture success on 4.16 " , func () {
233
+ cluster , err := registerNewCluster ("4.16 " , "s390x" , models .ClusterHighAvailabilityModeNone , nil )
234
234
Expect (err ).NotTo (HaveOccurred ())
235
235
Expect (cluster .Payload .CPUArchitecture ).To (Equal (common .S390xCPUArchitecture ))
236
236
Expect (swag .StringValue (cluster .Payload .HighAvailabilityMode )).To (Equal (models .ClusterHighAvailabilityModeNone ))
237
237
238
238
})
239
- It ("SNO with s390x fails on SNO isn't compatible with architecture on 4.12 - failure" , func () {
240
- expectedError := "cannot use Single Node OpenShift because it's not compatible with the s390x architecture on version 4.12 "
241
- _ , err := registerNewCluster ("4.12 " , "s390x" , models .ClusterHighAvailabilityModeNone , swag .Bool (true ))
239
+ It ("SNO with s390x fails on SNO isn't compatible with architecture on 4.16 - failure" , func () {
240
+ expectedError := "cannot use Single Node OpenShift because it's not compatible with the s390x architecture on version 4.16 "
241
+ _ , err := registerNewCluster ("4.16 " , "s390x" , models .ClusterHighAvailabilityModeNone , swag .Bool (true ))
242
242
Expect (err ).To (HaveOccurred ())
243
243
err2 := err .(* installer.V2RegisterClusterBadRequest )
244
244
ExpectWithOffset (1 , * err2 .Payload .Reason ).To (ContainSubstring (expectedError ))
0 commit comments