diff options
author | Adrian Villin <avillin@cisco.com> | 2024-05-27 09:52:59 -0400 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2024-05-30 15:58:18 +0000 |
commit | b9464cde7d3288f8feeeaf945ce933b276f07d82 (patch) | |
tree | 81bd58c1a5f3736ea6e5d2be1534c49004bc8d84 /extras/hs-test/suite_ns_test.go | |
parent | 2b671aa3e9b9b23afd46854a4bdd144ed783e99e (diff) |
hs-test: pin CPUs to containers
Type: test
Change-Id: I412be2dec7ff352740e50e838e0ac466bf0a6674
Signed-off-by: Adrian Villin <avillin@cisco.com>
Diffstat (limited to 'extras/hs-test/suite_ns_test.go')
-rw-r--r-- | extras/hs-test/suite_ns_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extras/hs-test/suite_ns_test.go b/extras/hs-test/suite_ns_test.go index 85b90911c2f..377046cdaeb 100644 --- a/extras/hs-test/suite_ns_test.go +++ b/extras/hs-test/suite_ns_test.go @@ -48,9 +48,8 @@ func (s *NsSuite) SetupTest() { append("evt_qs_memfd_seg"). append("event-queue-length 100000").close() - cpus := s.AllocateCpus() container := s.getContainerByName("vpp") - vpp, _ := container.newVppInstance(cpus, sessionConfig) + vpp, _ := container.newVppInstance(container.allocatedCpus, sessionConfig) s.assertNil(vpp.start()) idx, err := vpp.createAfPacket(s.getInterfaceByName(serverInterface)) |