Browse Source

fix: tcp handshake

Yeuoly 10 months ago
parent
commit
7c0f8a8b27
1 changed files with 3 additions and 0 deletions
  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 := ""