mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 10:48:15 +00:00
fix error message for pod resize validation failure
This commit is contained in:
@@ -25315,7 +25315,7 @@ func TestValidatePodResize(t *testing.T) {
|
||||
Requests: getResourceLimits("100m", "100Mi"),
|
||||
}))),
|
||||
),
|
||||
err: "Pod QoS is immutable",
|
||||
err: "Pod QOS Class must not change",
|
||||
test: "Pod QoS change, guaranteed -> burstable",
|
||||
}, {
|
||||
new: *podtest.MakePod("pod",
|
||||
@@ -25331,7 +25331,7 @@ func TestValidatePodResize(t *testing.T) {
|
||||
Requests: getResourceLimits("100m", "100Mi"),
|
||||
}))),
|
||||
),
|
||||
err: "Pod QoS is immutable",
|
||||
err: "Pod QOS Class must not change",
|
||||
test: "Pod QoS change, burstable -> guaranteed",
|
||||
}, {
|
||||
new: *podtest.MakePod("pod",
|
||||
@@ -25342,7 +25342,7 @@ func TestValidatePodResize(t *testing.T) {
|
||||
}))),
|
||||
),
|
||||
old: *podtest.MakePod("pod"),
|
||||
err: "Pod QoS is immutable",
|
||||
err: "Pod QOS Class must not change",
|
||||
test: "Pod QoS change, besteffort -> burstable",
|
||||
}, {
|
||||
new: *podtest.MakePod("pod"),
|
||||
@@ -25353,7 +25353,7 @@ func TestValidatePodResize(t *testing.T) {
|
||||
Requests: getResourceLimits("100m", "100Mi"),
|
||||
}))),
|
||||
),
|
||||
err: "Pod QoS is immutable",
|
||||
err: "Pod QOS Class must not change",
|
||||
test: "Pod QoS change, burstable -> besteffort",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user