Skip to content

Commit 37afe38

Browse files
authored
Merge pull request kubernetes#130997 from dims/fix-container_spec_memory_swap_limit_bytes-in-ci-cos-cgroupv1-containerd-node-e2e-ci-jobs
Fix container_spec_memory_swap_limit_bytes in ci-cos-cgroupv1-containerd-node-e2e CI jobs
2 parents dab4af9 + 0486790 commit 37afe38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e_node/container_metrics_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ var _ = SIGDescribe("ContainerMetrics", "[LinuxOnly]", framework.WithNodeConform
7474
"container_spec_cpu_shares": preciseSample(2),
7575
"container_spec_memory_limit_bytes": preciseSample(79998976),
7676
"container_spec_memory_reservation_limit_bytes": preciseSample(0),
77-
"container_spec_memory_swap_limit_bytes": preciseSample(0),
77+
"container_spec_memory_swap_limit_bytes": boundedSample(0, 80*e2evolume.Mb),
7878
"container_start_time_seconds": boundedSample(time.Now().Add(-maxStatsAge).Unix(), time.Now().Add(2*time.Minute).Unix()),
7979
"container_tasks_state": preciseSample(0),
8080
"container_threads": boundedSample(0, 10),

0 commit comments

Comments
 (0)