3 func (s *TapSuite) TestLinuxIperf() {
4 clnCh := make(chan error)
5 stopServerCh := make(chan struct{})
6 srvCh := make(chan error, 1)
7 clnRes := make(chan string, 1)
9 stopServerCh <- struct{}{}
12 go StartServerApp(srvCh, stopServerCh, nil)
15 s.log("server running")
17 ipAddress := s.netInterfaces["tap0"].IP4AddressString()
18 go StartClientApp(ipAddress, nil, clnCh, clnRes)
19 s.log("client running")
23 s.log("Test completed")