浏览代码

Fix test break

Darien Raymond 8 年之前
父节点
当前提交
e9600f0aa5
共有 2 个文件被更改,包括 0 次插入4 次删除
  1. 0 2
      testing/scenarios/dynamic_vmess_test.go
  2. 0 2
      testing/scenarios/shadowsocks_test.go

+ 0 - 2
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()

+ 0 - 2
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