hs-test: fix numa node core retrieval 26/42326/2
authorSemir Sionek <[email protected]>
Thu, 6 Feb 2025 12:44:05 +0000 (07:44 -0500)
committerDave Wallace <[email protected]>
Fri, 7 Feb 2025 15:12:37 +0000 (15:12 +0000)
commita88b1d7e2dc77fdacef5f0cf4cf6794a9b86ffe0
tree86c31e279252ec8920bf4fa6c570f01622e46c4f
parentf5d3a8e1737455da4113a25a6d1455dcc7934327
hs-test: fix numa node core retrieval

In CpuAllocator, the default assumption of two node core ranges
seems to not be fully correct. Added handling of multiple ranges
and singular cores.

Type: fix

Change-Id: Id50147c5360baa4035fcd87e3717b0d6c9ea7e5f
Signed-off-by: Semir Sionek <[email protected]>
(cherry picked from commit 119ae0a10a990c0c4212c043f0a446b0af362652)
extras/hs-test/infra/cpu.go