From fc379f2d2c3fedf54b7072bc14001f5097891564 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 7 Aug 2019 19:03:45 +0100 Subject: [PATCH] Remove other accept --- tunnel/tunnel_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tunnel/tunnel_test.go b/tunnel/tunnel_test.go index 8577d89f..d90d9551 100644 --- a/tunnel/tunnel_test.go +++ b/tunnel/tunnel_test.go @@ -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() }