hs-test: KindIperfVclTest fix 93/43393/1
authorAdrian Villin <[email protected]>
Fri, 15 Aug 2025 07:10:23 +0000 (09:10 +0200)
committerAdrian 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

index 12f6b39..8039e6b 100644 (file)
@@ -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)