Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
94feaa8
)
hs-test: KindIperfVclTest fix
93/43393/1
author
Adrian Villin
<
[email protected]
>
Fri, 15 Aug 2025 07:10:23 +0000
(09:10 +0200)
committer
Adrian Villin
<
[email protected]
>
Fri, 15 Aug 2025 07:10:23 +0000
(09:10 +0200)
- fixed test failure when pods take slightly longer to deploy
Type: fix
Change-Id: I76c93213563a38b0165720986def9b60c4b671ac
Signed-off-by: Adrian Villin <
[email protected]
>
extras/hs-test/kind_test.go
patch
|
blob
|
history
diff --git
a/extras/hs-test/kind_test.go
b/extras/hs-test/kind_test.go
index
12f6b39
..
8039e6b
100644
(file)
--- a/
extras/hs-test/kind_test.go
+++ b/
extras/hs-test/kind_test.go
@@
-17,10
+17,10
@@
const vcl string = "VCL_CONFIG=/vcl.conf"
const ldp string = "LD_PRELOAD=/usr/lib/libvcl_ldpreload.so"
func KindIperfVclTest(s *KindSuite) {
- ctx, cancel := context.WithTimeout(s.MainContext, time.Second*30)
- defer cancel()
s.DeployPod(s.Pods.ClientGeneric)
s.DeployPod(s.Pods.ServerGeneric)
+ ctx, cancel := context.WithTimeout(s.MainContext, time.Second*40)
+ defer cancel()
_, err := s.Pods.ClientGeneric.Exec(ctx, []string{"/bin/bash", "-c", VclConfIperf})
s.AssertNil(err)