Skip to content

Commit d429c8b

Browse files
committed
debug cpu_manager_test failure
Signed-off-by: Davanum Srinivas <[email protected]>
1 parent 62555ca commit d429c8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e_node/cpu_manager_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ func runCfsQuotaGuPods(ctx context.Context, f *framework.Framework, disabledCPUQ
644644
deletePodsAsync(ctx2, f, podsToClean)
645645
})
646646

647-
podCFSCheckCommand := []string{"sh", "-c", `cat $(find /sysfscgroup | grep "$(cat /podinfo/uid | sed 's/-/_/g').slice/cpu.max$") && sleep 1d`}
647+
podCFSCheckCommand := []string{"sh", "-c", `cat $(find /sysfscgroup | grep -E "($(cat /podinfo/uid)|$(cat /podinfo/uid | sed 's/-/_/g'))(/|\.slice/)cpu.max$") && sleep 1d`}
648648
cfsCheckCommand := []string{"sh", "-c", "cat /sys/fs/cgroup/cpu.max && sleep 1d"}
649649
defaultPeriod := "100000"
650650

0 commit comments

Comments
 (0)