internal/testing/dnsmasq: panic in goroutine instead of fatal
Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
parent
8efea22943
commit
dd7c3a8a5f
@ -116,7 +116,7 @@ func Run(t *testing.T, iface, ns string) *Process {
|
||||
case <-p.done:
|
||||
return // test done, any errors are from our Kill()
|
||||
default:
|
||||
t.Fatalf("dnsmasq exited prematurely: %v", err)
|
||||
panic(fmt.Sprintf("dnsmasq exited prematurely: %v", err))
|
||||
}
|
||||
}()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user