mirror of
https://github.com/miekg/dns.git
synced 2026-05-04 22:26:12 +02:00
Make it fatal when the server cannot start
This commit is contained in:
parent
118cb99644
commit
610cabc412
@ -37,7 +37,7 @@ func TestServing(t *testing.T) {
|
||||
err := ListenAndServe(":8053", "udp", nil)
|
||||
if err != nil {
|
||||
t.Log("ListenAndServe: ", err.Error())
|
||||
t.Fail()
|
||||
t.Fatal()
|
||||
}
|
||||
}()
|
||||
time.Sleep(4e8)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user