diff options
Diffstat (limited to 'extras/hs-test/iperf_linux_test.go')
-rw-r--r-- | extras/hs-test/iperf_linux_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/extras/hs-test/iperf_linux_test.go b/extras/hs-test/iperf_linux_test.go index 14422fe5efa..b2b52a758ed 100644 --- a/extras/hs-test/iperf_linux_test.go +++ b/extras/hs-test/iperf_linux_test.go @@ -2,6 +2,7 @@ package main import ( "fmt" + "time" . "fd.io/hs-test/infra" . "github.com/onsi/ginkgo/v2" @@ -41,8 +42,6 @@ func IperfLinuxTest(s *IperfSuite) { " -u -l 1460 -b 10g -p " + s.GetPortFromPpid() s.StartClientApp(clientContainer, cmd, clnCh, clnRes) }() - + s.AssertChannelClosed(time.Minute*3, clnCh) s.Log(<-clnRes) - err = <-clnCh - s.AssertNil(err, "err: '%s'", err) } |