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