[test] Add Travis skip for succesful local/Ubuntu 14.04 VM tests that somehow fail on Travis CI.

This commit is contained in:
Maxime Demode 2019-10-28 14:24:28 +01:00
parent 4fed02b227
commit 9083117872
1 changed files with 7 additions and 0 deletions

View File

@ -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)