Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO-JIRA: perfprof: e2e: account for node base load #1047

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,10 @@ var _ = Describe("[rfe_id:27363][performance] CPU Management", Ordered, func() {
testpod.Namespace = testutils.NamespaceTesting

isolatedCPUSet, _ := cpuset.Parse(isolatedCPU)
if cpuRequest > isolatedCPUSet.Size() {
// the worker node on which the pod will be scheduled has other pods already scheduled on it, and these also use a
// portion of the node's isolated cpus, and scheduling a pod requesting all the isolated cpus on the node (hence =)
// would fail because there is already a base cpu load on the node
if cpuRequest >= isolatedCPUSet.Size() {
Skip(fmt.Sprintf("cpus request %d is greater than the isolated cpus %d", cpuRequest, isolatedCPUSet.Size()))
}

Expand Down