Skip to content

Commit 0486790

Browse files
committed
Fix container_spec_memory_swap_limit_bytes in ci-cos-cgroupv1-containerd-node-e2e CI jobs
Signed-off-by: Davanum Srinivas <[email protected]>
1 parent dd43c3d commit 0486790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/e2e_node/container_metrics_test.go

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

0 commit comments

Comments
 (0)