Remove other accept
This commit is contained in:
parent
dcf4fed6a3
commit
fc379f2d2c
@ -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()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user