From e613b0c2058d31d8e22daa3162a1bbcaaf6d6923 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sun, 11 Aug 2019 09:54:02 +0100 Subject: [PATCH] remove the single node tunnel test --- tunnel/tunnel_test.go | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/tunnel/tunnel_test.go b/tunnel/tunnel_test.go index 1580d4a9..721479bb 100644 --- a/tunnel/tunnel_test.go +++ b/tunnel/tunnel_test.go @@ -54,28 +54,6 @@ func testSend(t *testing.T, tun Tunnel) { } func TestTunnel(t *testing.T) { - // create a new listener - tun := NewTunnel(Nodes("127.0.0.1:9096")) - err := tun.Connect() - if err != nil { - t.Fatal(err) - } - defer tun.Close() - - var wg sync.WaitGroup - - // start accepting connections - wg.Add(1) - go testAccept(t, tun, &wg) - - // send a message - testSend(t, tun) - - // wait until message is received - wg.Wait() -} - -func TestTwoTunnel(t *testing.T) { // create a new tunnel client tunA := NewTunnel( Address("127.0.0.1:9096"),