diff options
Diffstat (limited to 'extras/hs-test/linux_iperf_test.go')
-rwxr-xr-x | extras/hs-test/linux_iperf_test.go | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/extras/hs-test/linux_iperf_test.go b/extras/hs-test/linux_iperf_test.go index 92a85cf6bbe..bef07fb7d65 100755 --- a/extras/hs-test/linux_iperf_test.go +++ b/extras/hs-test/linux_iperf_test.go @@ -11,16 +11,11 @@ func (s *TapSuite) TestLinuxIperf() { go StartServerApp(srvCh, stopServerCh, nil) err := <-srvCh - if err != nil { - t.Errorf("%v", err) - t.FailNow() - } + s.assertNil(err) t.Log("server running") go StartClientApp(nil, clnCh) t.Log("client running") err = <-clnCh - if err != nil { - s.Failf("client", "%v", err) - } + s.assertNil(err) t.Log("Test completed") } |