diff options
author | Matus Fabian <matfabia@cisco.com> | 2024-08-26 18:01:14 +0200 |
---|---|---|
committer | Matus Fabian <matfabia@cisco.com> | 2024-08-26 18:03:31 +0200 |
commit | a647a83496f81a83c02fe9317955a781b7f95d8c (patch) | |
tree | de2c54b572d7d2a725b5b55b442178b2dca020b2 /extras/hs-test/infra/container.go | |
parent | 62b508b396b4bcca37b934247ea04f5efef85354 (diff) |
hs-test: http tests improvement
- added http specific asserts
- added helper functions to NoTopoSuite
Type: test
Change-Id: I0a7e77ed3ffd938aa3eaa37ed5432fbaab0dab64
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'extras/hs-test/infra/container.go')
-rw-r--r-- | extras/hs-test/infra/container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/infra/container.go b/extras/hs-test/infra/container.go index a9069d756c4..974d1547c03 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 = strings.Replace(hostDir, "volumes", c.Suite.GetTestId() + "/" + "volumes", 1) + volume.HostDir = strings.Replace(hostDir, "volumes", c.Suite.GetTestId()+"/"+"volumes", 1) volume.ContainerDir = containerDir volume.IsDefaultWorkDir = isDefaultWorkDir c.Volumes[hostDir] = volume |