aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/infra
diff options
context:
space:
mode:
authorAdrian Villin <avillin@cisco.com>2024-08-20 14:36:12 +0200
committerDave Wallace <dwallacelf@gmail.com>2024-08-21 15:38:19 +0000
commit58cb6ba81833a79a877448aa60d7d68604ad6c4e (patch)
tree9b85360b64933bfeb64a40f3b31caa9fcc1a630d /extras/hs-test/infra
parent4995d0da8cd2569966a7e4e29c8235712743eb4f (diff)
hs-test: fix vppinstance logs and disable trace
- fixed a bug where vppinstance logs would concatenate -> each test now has its own bind mount - removed "--trace" flag to avoid skipped tests printing a full stack trace. They are now only printed in the summary. Type: test Change-Id: Ib7f4254717cc798e456b9fca6f81685c8153ee2d Signed-off-by: Adrian Villin <avillin@cisco.com>
Diffstat (limited to 'extras/hs-test/infra')
-rw-r--r--extras/hs-test/infra/container.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/extras/hs-test/infra/container.go b/extras/hs-test/infra/container.go
index 195f889f237..a9069d756c4 100644
--- a/extras/hs-test/infra/container.go
+++ b/extras/hs-test/infra/container.go
@@ -313,7 +313,7 @@ func (c *Container) Run() {
func (c *Container) addVolume(hostDir string, containerDir string, isDefaultWorkDir bool) {
var volume Volume
- volume.HostDir = hostDir
+ volume.HostDir = strings.Replace(hostDir, "volumes", c.Suite.GetTestId() + "/" + "volumes", 1)
volume.ContainerDir = containerDir
volume.IsDefaultWorkDir = isDefaultWorkDir
c.Volumes[hostDir] = volume
@@ -340,7 +340,6 @@ func (c *Container) getVolumesAsSlice() []string {
volumeSlice = append(volumeSlice, fmt.Sprintf("%s:%s", volume.HostDir, volume.ContainerDir))
}
}
-
return volumeSlice
}