aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2024-10-08 20:06:32 +0200
committerFlorin Coras <florin.coras@gmail.com>2024-10-14 19:26:45 +0000
commit15106becc5f572ca5948fa84042dee230a98e97b (patch)
treeaa57fedad8e0392ce926653c02502bb79d6018ac /extras
parent1db9079ccb2b4461d7b2d07267df6cab05aaafa6 (diff)
http: Content-Length value parsing improvement
Type: improvement Change-Id: Ida8ca43b5fed41fc0b13a2dde97e7e35c55283c9 Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/hs-test/http_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/http_test.go b/extras/hs-test/http_test.go
index f4aec142a78..982cab77d80 100644
--- a/extras/hs-test/http_test.go
+++ b/extras/hs-test/http_test.go
@@ -612,7 +612,7 @@ func runWrkPerf(s *NoTopoSuite) {
func HttpStaticFileHandlerWrkTest(s *NoTopoSuite) {
vpp := s.GetContainerByName("vpp").VppInstance
serverAddress := s.VppAddr()
- vpp.Container.Exec("mkdir -p " + wwwRootPath)
+ vpp.Container.Exec(false, "mkdir -p "+wwwRootPath)
content := "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
err := vpp.Container.CreateFile(wwwRootPath+"/64B", content)
s.AssertNil(err, fmt.Sprint(err))