Skip to content

Commit

Permalink
high perf hooks: remove out of date unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hunt <pehunt@redhat.com>
  • Loading branch information
haircommander committed Dec 7, 2023
1 parent 408feca commit 87f1c78
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions internal/runtimehandlerhooks/high_performance_hooks_test.go
Expand Up @@ -569,38 +569,4 @@ var _ = Describe("high_performance_hooks", func() {
})
})
})
Describe("setSharedCPUs", func() {
Context("with empty container CPUs list", func() {
container.SetSpec(
&specs.Spec{
Linux: &specs.Linux{
Resources: &specs.LinuxResources{
CPU: &specs.LinuxCPU{
Cpus: "0,1",
},
},
},
},
)
It("should result in error", func() {
Expect(setSharedCPUs(context.TODO(), container, nil, nil, "", false)).To(HaveOccurred())
})
})
Context("with empty shared CPUs list", func() {
container.SetSpec(
&specs.Spec{
Linux: &specs.Linux{
Resources: &specs.LinuxResources{
CPU: &specs.LinuxCPU{
Cpus: "0,1",
},
},
},
},
)
It("should result in error", func() {
Expect(setSharedCPUs(context.TODO(), container, nil, nil, "", false)).To(HaveOccurred())
})
})
})
})

0 comments on commit 87f1c78

Please sign in to comment.