1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 09:36:34 -05:00

fix CI test issue

This commit is contained in:
Shelikhoo 2021-06-23 10:27:32 +01:00
parent 6472e8ecd3
commit b3fb85804d
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -1300,7 +1300,7 @@ func TestVMessGCMLengthAuth(t *testing.T) {
userID := protocol.NewID(uuid.New()) userID := protocol.NewID(uuid.New())
serverPort := tcp.PickPort() serverPort := tcp.PickPort()
serverConfig := &core.Config{ serverConfig := &core.Config{
App: []*serial.TypedMessage{ App: []*anypb.Any{
serial.ToTypedMessage(&log.Config{ serial.ToTypedMessage(&log.Config{
ErrorLogLevel: clog.Severity_Debug, ErrorLogLevel: clog.Severity_Debug,
ErrorLogType: log.LogType_Console, ErrorLogType: log.LogType_Console,
@ -1333,7 +1333,7 @@ func TestVMessGCMLengthAuth(t *testing.T) {
clientPort := tcp.PickPort() clientPort := tcp.PickPort()
clientConfig := &core.Config{ clientConfig := &core.Config{
App: []*serial.TypedMessage{ App: []*anypb.Any{
serial.ToTypedMessage(&log.Config{ serial.ToTypedMessage(&log.Config{
ErrorLogLevel: clog.Severity_Debug, ErrorLogLevel: clog.Severity_Debug,
ErrorLogType: log.LogType_Console, ErrorLogType: log.LogType_Console,
@ -1407,7 +1407,7 @@ func TestVMessGCMLengthAuthPlusNoTerminationSignal(t *testing.T) {
userID := protocol.NewID(uuid.New()) userID := protocol.NewID(uuid.New())
serverPort := tcp.PickPort() serverPort := tcp.PickPort()
serverConfig := &core.Config{ serverConfig := &core.Config{
App: []*serial.TypedMessage{ App: []*anypb.Any{
serial.ToTypedMessage(&log.Config{ serial.ToTypedMessage(&log.Config{
ErrorLogLevel: clog.Severity_Debug, ErrorLogLevel: clog.Severity_Debug,
ErrorLogType: log.LogType_Console, ErrorLogType: log.LogType_Console,
@ -1441,7 +1441,7 @@ func TestVMessGCMLengthAuthPlusNoTerminationSignal(t *testing.T) {
clientPort := tcp.PickPort() clientPort := tcp.PickPort()
clientConfig := &core.Config{ clientConfig := &core.Config{
App: []*serial.TypedMessage{ App: []*anypb.Any{
serial.ToTypedMessage(&log.Config{ serial.ToTypedMessage(&log.Config{
ErrorLogLevel: clog.Severity_Debug, ErrorLogLevel: clog.Severity_Debug,
ErrorLogType: log.LogType_Console, ErrorLogType: log.LogType_Console,