1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-01 06:55:25 -05:00

convert dokodemo scenario test to protobuf based

This commit is contained in:
Darien Raymond
2017-01-05 11:20:04 +01:00
parent f7721029c7
commit a704d7b6b6
6 changed files with 88 additions and 78 deletions

View File

@@ -42,6 +42,7 @@ func TestSimpleTLSConnection(t *testing.T) {
}
dest, err := tcpServer.Start()
assert.Error(err).IsNil()
defer tcpServer.Close()
userID := protocol.NewID(uuid.New())
serverPort := pickPort()
@@ -154,6 +155,7 @@ func TestTLSConnectionReuse(t *testing.T) {
}
dest, err := tcpServer.Start()
assert.Error(err).IsNil()
defer tcpServer.Close()
userID := protocol.NewID(uuid.New())
serverPort := pickPort()