mirror of https://github.com/v2ray/v2ray-core
wait until dns server is up
parent
156af4241d
commit
dad0892a39
|
@ -50,6 +50,7 @@ func TestUDPServer(t *testing.T) {
|
|||
}
|
||||
|
||||
go dnsServer.ListenAndServe()
|
||||
time.Sleep(time.Second)
|
||||
|
||||
config := &core.Config{
|
||||
App: []*serial.TypedMessage{
|
||||
|
@ -113,6 +114,7 @@ func TestPrioritizedDomain(t *testing.T) {
|
|||
}
|
||||
|
||||
go dnsServer.ListenAndServe()
|
||||
time.Sleep(time.Second)
|
||||
|
||||
config := &core.Config{
|
||||
App: []*serial.TypedMessage{
|
||||
|
|
Loading…
Reference in New Issue