Remove other accept

This commit is contained in:
Asim Aslam 2019-08-07 19:03:45 +01:00
parent dcf4fed6a3
commit fc379f2d2c

View File

@ -103,18 +103,12 @@ func TestTwoTunnel(t *testing.T) {
var wg sync.WaitGroup
// start accepting connections
wg.Add(1)
go testAccept(t, tunA, &wg)
wg.Add(1)
go testAccept(t, tunB, &wg)
// send a message
testSend(t, tunA)
// send a message
testSend(t, tunB)
// wait until done
wg.Wait()
}