mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-05 00:47:51 -05:00
Merge pull request #2039 from v2fly/fixconftest
fix test failed on logger position
This commit is contained in:
commit
44aafae19e
@ -138,9 +138,6 @@ func TestV2RayConfig(t *testing.T) {
|
|||||||
Parser: createParser(),
|
Parser: createParser(),
|
||||||
Output: &core.Config{
|
Output: &core.Config{
|
||||||
App: []*serial.TypedMessage{
|
App: []*serial.TypedMessage{
|
||||||
serial.ToTypedMessage(&dispatcher.Config{}),
|
|
||||||
serial.ToTypedMessage(&proxyman.InboundConfig{}),
|
|
||||||
serial.ToTypedMessage(&proxyman.OutboundConfig{}),
|
|
||||||
serial.ToTypedMessage(&log.Config{
|
serial.ToTypedMessage(&log.Config{
|
||||||
ErrorLogType: log.LogType_File,
|
ErrorLogType: log.LogType_File,
|
||||||
ErrorLogPath: "/var/log/v2ray/error.log",
|
ErrorLogPath: "/var/log/v2ray/error.log",
|
||||||
@ -148,6 +145,9 @@ func TestV2RayConfig(t *testing.T) {
|
|||||||
AccessLogType: log.LogType_File,
|
AccessLogType: log.LogType_File,
|
||||||
AccessLogPath: "/var/log/v2ray/access.log",
|
AccessLogPath: "/var/log/v2ray/access.log",
|
||||||
}),
|
}),
|
||||||
|
serial.ToTypedMessage(&dispatcher.Config{}),
|
||||||
|
serial.ToTypedMessage(&proxyman.InboundConfig{}),
|
||||||
|
serial.ToTypedMessage(&proxyman.OutboundConfig{}),
|
||||||
serial.ToTypedMessage(&router.Config{
|
serial.ToTypedMessage(&router.Config{
|
||||||
DomainStrategy: router.Config_AsIs,
|
DomainStrategy: router.Config_AsIs,
|
||||||
Rule: []*router.RoutingRule{
|
Rule: []*router.RoutingRule{
|
||||||
|
Loading…
Reference in New Issue
Block a user