skip inconsistent test

This commit is contained in:
Vishvananda Ishaya Abrams 2017-04-12 10:28:41 -07:00
parent 1e86b2bee5
commit b7148c6755

View File

@ -5,12 +5,16 @@ package netlink
import (
"log"
"net"
"os"
"os/user"
"strconv"
"testing"
)
func TestSocketGet(t *testing.T) {
if os.Getenv("TRAVIS_BUILD_DIR") != "" {
t.Skipf("Goroutines + network namespaces == inconsistent results")
}
addr, err := net.ResolveTCPAddr("tcp", "localhost:0")
if err != nil {
log.Fatal(err)