integration/radvd: panic in goroutine instead of fatal

Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Matt Layher 2020-05-09 16:56:51 -04:00
parent dd7c3a8a5f
commit f87891a74b
No known key found for this signature in database
GPG Key ID: 77BFE531397EDE94

View File

@ -15,6 +15,7 @@
package integration_test
import (
"fmt"
"io/ioutil"
"net"
"os"
@ -80,7 +81,7 @@ func TestRouterAdvertisement(t *testing.T) {
}
go func() {
if err := srv.Serve("veth2a", conn); err != nil {
t.Fatal(err)
panic(fmt.Sprintf("failed to serve router advertisements: %v", err))
}
}()
//time.Sleep(5 * time.Second)