mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 02:22:21 +08:00
Fix test
This commit is contained in:
parent
376f527742
commit
262842c87d
|
@ -86,7 +86,7 @@ func testSuitLargeUDP(t *testing.T, clientPort uint16, testPort uint16) {
|
|||
require.NoError(t, testPingPongWithPacketConn(t, testPort, dialUDP))
|
||||
require.NoError(t, testLargeDataWithConn(t, testPort, dialTCP))
|
||||
require.NoError(t, testLargeDataWithPacketConn(t, testPort, dialUDP))
|
||||
require.NoError(t, testLargeDataWithPacketConnSize(t, testPort, 1250, dialUDP))
|
||||
require.NoError(t, testLargeDataWithPacketConnSize(t, testPort, 5000, dialUDP))
|
||||
}
|
||||
|
||||
func testTCP(t *testing.T, clientPort uint16, testPort uint16) {
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
]
|
||||
},
|
||||
"local": {
|
||||
"server": "127.0.0.1:10001"
|
||||
"server": "127.0.0.1:10001",
|
||||
"max_packet_size": 65535
|
||||
},
|
||||
"log_level": "debug"
|
||||
}
|
|
@ -5,5 +5,6 @@
|
|||
},
|
||||
"certificate": "/etc/tuic/cert.pem",
|
||||
"private_key": "/etc/tuic/key.pem",
|
||||
"max_external_packet_size": 65535,
|
||||
"log_level": "debug"
|
||||
}
|
Loading…
Reference in New Issue
Block a user