aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/suite_ns_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/suite_ns_test.go')
-rw-r--r--extras/hs-test/suite_ns_test.go3
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))