mirror of
https://github.com/vishvananda/netlink
synced 2025-03-04 04:17:59 +00:00
skip inconsistent test
This commit is contained in:
parent
1e86b2bee5
commit
b7148c6755
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user