From e9600f0aa554070414bd803f61223e204c2e9255 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sat, 28 Jan 2017 23:35:02 +0100 Subject: [PATCH] Fix test break --- testing/scenarios/dynamic_vmess_test.go | 2 -- testing/scenarios/shadowsocks_test.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/testing/scenarios/dynamic_vmess_test.go b/testing/scenarios/dynamic_vmess_test.go index e6e016931..a6f66d00f 100644 --- a/testing/scenarios/dynamic_vmess_test.go +++ b/testing/scenarios/dynamic_vmess_test.go @@ -41,8 +41,6 @@ func TestDynamicVMess(t *testing.T) { assert.Error(err).IsNil() assert.Int(nBytes).Equals(len(payload)) - conn.CloseWrite() - expectedResponse := "Processed: " + payload finished := false response := buf.New() diff --git a/testing/scenarios/shadowsocks_test.go b/testing/scenarios/shadowsocks_test.go index e32c71956..1517b7632 100644 --- a/testing/scenarios/shadowsocks_test.go +++ b/testing/scenarios/shadowsocks_test.go @@ -41,8 +41,6 @@ func TestShadowsocksTCP(t *testing.T) { assert.Error(err).IsNil() assert.Int(nBytes).Equals(len(payload)) - //conn.CloseWrite() - response := buf.New() finished := false expectedResponse := "Processed: " + payload