mirror of https://github.com/v2ray/v2ray-core
fix broken test
parent
8a82a3664c
commit
4b885f5775
|
@ -14,6 +14,7 @@ import (
|
|||
"v2ray.com/core/common/serial"
|
||||
"v2ray.com/core/common/uuid"
|
||||
"v2ray.com/core/features/dns"
|
||||
"v2ray.com/core/features/dns/localdns"
|
||||
_ "v2ray.com/core/main/distro/all"
|
||||
"v2ray.com/core/proxy/dokodemo"
|
||||
"v2ray.com/core/proxy/vmess"
|
||||
|
@ -30,7 +31,7 @@ func TestV2RayDependency(t *testing.T) {
|
|||
}
|
||||
wait <- true
|
||||
})
|
||||
instance.AddFeature(dns.LocalClient{})
|
||||
instance.AddFeature(localdns.New())
|
||||
<-wait
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue