summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/infra/cpu.go
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/infra/cpu.go')
-rw-r--r--extras/hs-test/infra/cpu.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/extras/hs-test/infra/cpu.go b/extras/hs-test/infra/cpu.go
index 6ba60e5dfe4..a1682819a2f 100644
--- a/extras/hs-test/infra/cpu.go
+++ b/extras/hs-test/infra/cpu.go
@@ -39,13 +39,6 @@ func (c *CpuAllocatorT) Allocate(containerCount int, nCpus int) (*CpuContext, er
// indexes, not actual cores
var minCpu, maxCpu int
- // temporary fix for CpuPinningSuite
- if strings.Contains(CurrentSpecReport().ContainerHierarchyTexts[0], "CpuPinning") {
- cpuAllocator.maxContainerCount = 1
- } else {
- cpuAllocator.maxContainerCount = 4
- }
-
if c.runningInCi {
minCpu = ((c.buildNumber) * c.maxContainerCount * nCpus)
maxCpu = ((c.buildNumber + 1) * c.maxContainerCount * nCpus) - 1