diff options
author | 2024-05-22 09:26:47 -0400 | |
---|---|---|
committer | 2024-05-23 15:48:50 +0000 | |
commit | 0df582e8ecbe6a4d45c9b2a8b822dcbe039eec29 (patch) | |
tree | 50d144223e990663b0149680552659c362e66167 /extras/hs-test/container.go | |
parent | f5df854389b8f2f2602d2aac8fec33fefdc45e59 (diff) |
hs-test: fix CPU alloc when running in parallel
Type: test
Change-Id: I6062eddffb938880d9ec004c8418a9a731891989
Signed-off-by: Adrian Villin <avillin@cisco.com>
Diffstat (limited to 'extras/hs-test/container.go')
-rw-r--r-- | extras/hs-test/container.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/hs-test/container.go b/extras/hs-test/container.go index 3ac5eee3aaa..0bdc3a24996 100644 --- a/extras/hs-test/container.go +++ b/extras/hs-test/container.go @@ -239,6 +239,7 @@ func (c *Container) newVppInstance(cpus []int, additionalConfigs ...Stanza) (*Vp vpp := new(VppInstance) vpp.container = c vpp.cpus = cpus + c.suite.vppContainerCount += 1 vpp.additionalConfig = append(vpp.additionalConfig, additionalConfigs...) c.vppInstance = vpp return vpp, nil |