소스 검색

fix: tcp handshake

Yeuoly 11 달 전
부모
커밋
7c0f8a8b27
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      internal/core/plugin_manager/remote_manager/server_test.go

+ 3 - 0
internal/core/plugin_manager/remote_manager/server_test.go

@@ -172,6 +172,9 @@ func TestAcceptConnection(t *testing.T) {
 	conn.Write([]byte("\n"))
 	conn.Write(handle_shake_message)
 	conn.Write([]byte("\n"))
+	conn.Write([]byte("[]\n"))
+	conn.Write([]byte("[]\n"))
+	conn.Write([]byte("[]\n"))
 	closed_chan := make(chan bool)
 
 	msg := ""