mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
test/e2e_node: pod_resize tests
add NodeAlphaFeature label, as the feature is in alpha to be skipped in CI add missing Arm64 check
This commit is contained in:
parent
a6460c4f3e
commit
3a01281d2f
@ -1241,7 +1241,7 @@ func doPodResizeErrorTests() {
|
|||||||
tc := tests[idx]
|
tc := tests[idx]
|
||||||
ginkgo.It(tc.name, func(ctx context.Context) {
|
ginkgo.It(tc.name, func(ctx context.Context) {
|
||||||
ginkgo.By("waiting for the node to be ready", func() {
|
ginkgo.By("waiting for the node to be ready", func() {
|
||||||
if !supportsInPlacePodVerticalScaling(ctx, f) || framework.NodeOSDistroIs("windows") {
|
if !supportsInPlacePodVerticalScaling(ctx, f) || framework.NodeOSDistroIs("windows") || isRunningOnArm64() {
|
||||||
e2eskipper.Skipf("runtime does not support InPlacePodVerticalScaling -- skipping")
|
e2eskipper.Skipf("runtime does not support InPlacePodVerticalScaling -- skipping")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -1303,7 +1303,7 @@ func doPodResizeErrorTests() {
|
|||||||
// Above tests are performed by doSheduletTests() and doPodResizeResourceQuotaTests()
|
// Above tests are performed by doSheduletTests() and doPodResizeResourceQuotaTests()
|
||||||
// in test/node/pod_resize_test.go
|
// in test/node/pod_resize_test.go
|
||||||
|
|
||||||
var _ = SIGDescribe("Pod InPlace Resize Container", framework.WithSerial(), feature.InPlacePodVerticalScaling, func() {
|
var _ = SIGDescribe("Pod InPlace Resize Container", framework.WithSerial(), feature.InPlacePodVerticalScaling, "[NodeAlphaFeature:InPlacePodVerticalScaling]", func() {
|
||||||
if !podOnCgroupv2Node {
|
if !podOnCgroupv2Node {
|
||||||
cgroupMemLimit = CgroupMemLimit
|
cgroupMemLimit = CgroupMemLimit
|
||||||
cgroupCPULimit = CgroupCPUQuota
|
cgroupCPULimit = CgroupCPUQuota
|
||||||
|
Loading…
Reference in New Issue
Block a user