Skip to content

Commit

Permalink
Merge pull request #349 from klihub/fixes/mock-single-thread-for-cpus
Browse files Browse the repository at this point in the history
topology-aware: add missing SingleThreadForCPUs() to mockSysfs.
  • Loading branch information
fmuyassarov authored Jul 4, 2024
2 parents 096ac5d + c07abc9 commit f6d2719
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/plugins/topology-aware/policy/mocks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ func (fake *mockSystem) CoreKindCPUs(sysfs.CoreKind) cpuset.CPUSet {
func (fake *mockSystem) AllThreadsForCPUs(cpuset.CPUSet) cpuset.CPUSet {
return cpuset.New()
}
func (fake *mockSystem) SingleThreadForCPUs(cpuset.CPUSet) cpuset.CPUSet {
return cpuset.New()
}
func (fake *mockSystem) Offlined() cpuset.CPUSet {
return cpuset.New()
}
Expand Down

0 comments on commit f6d2719

Please sign in to comment.