mirror of
https://github.com/vishvananda/netlink.git
synced 2025-10-30 18:56:20 +08:00
skip inconsistent test
This commit is contained in:
@@ -5,12 +5,16 @@ package netlink
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
"net"
|
"net"
|
||||||
|
"os"
|
||||||
"os/user"
|
"os/user"
|
||||||
"strconv"
|
"strconv"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSocketGet(t *testing.T) {
|
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")
|
addr, err := net.ResolveTCPAddr("tcp", "localhost:0")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user