Skip to content

Commit ee41b03

Browse files
authored
Merge pull request kubernetes#131041 from dims/fix-cpu_manager_test-failure-in-ci-kubernetes-node-swap-ubuntu-serial
Fix cpu_manager_test-failure in ci-kubernetes-node-swap-ubuntu-serial
2 parents ff25881 + d429c8b commit ee41b03

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)