hs-test: minor cpu pinning suite improvements 00/41200/2
authorAdrian Villin <[email protected]>
Wed, 17 Jul 2024 12:38:48 +0000 (14:38 +0200)
committerDave Wallace <[email protected]>
Wed, 17 Jul 2024 16:10:29 +0000 (16:10 +0000)
commitb69ee00c34ede374dad78f33106b39cf75087d5a
treed7f741ee85c4e9cddf973a03c3bbdf33c302fb5f
parentaedfd7ca3d2f5b17cfd20d4dc3919fe765adb27a
hs-test: minor cpu pinning suite improvements

- added max cpu check for CI
- added a check for Ip4AddrAllocator: fixes a case where teardown panics
  if a test crashes before allocator gets initialized

Type: test

Change-Id: Ica12366cd79d77801964dfbdc8ee7c9969b4a9ce
Signed-off-by: Adrian Villin <[email protected]>
extras/hs-test/infra/cpu.go
extras/hs-test/infra/hst_suite.go
extras/hs-test/infra/suite_cpu_pinning.go