The testing package does not allow t.Fatal to be called from a different goroutine; however, we do that if the testing server fails listen or accept connections. Since that is unexpected and rare, this patch turns those calls into panics.
1.6 KiB
1.6 KiB