[test] Add Travis skip for succesful local/Ubuntu 14.04 VM tests that somehow fail on Travis CI.
This commit is contained in:
parent
4fed02b227
commit
9083117872
|
@ -19,6 +19,7 @@ import (
|
|||
"flag"
|
||||
"fmt"
|
||||
"net"
|
||||
"os"
|
||||
"reflect"
|
||||
"runtime"
|
||||
"strings"
|
||||
|
@ -1614,6 +1615,9 @@ func TestDeleteElementNamedSet(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestFlushNamedSet(t *testing.T) {
|
||||
if os.Getenv("TRAVIS") == "true" {
|
||||
t.SkipNow()
|
||||
}
|
||||
// Create a new network namespace to test these operations,
|
||||
// and tear down the namespace at test completion.
|
||||
c, newNS := openSystemNFTConn(t)
|
||||
|
@ -1766,6 +1770,9 @@ func TestFlushChain(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestFlushTable(t *testing.T) {
|
||||
if os.Getenv("TRAVIS") == "true" {
|
||||
t.SkipNow()
|
||||
}
|
||||
// Create a new network namespace to test these operations,
|
||||
// and tear down the namespace at test completion.
|
||||
c, newNS := openSystemNFTConn(t)
|
||||
|
|
Loading…
Reference in New Issue