skip flaky test in ci

This commit is contained in:
Vishvananda Abrams 2022-01-12 16:51:04 -06:00 committed by Vish (Ishaya) Abrams
parent 523ee65ce3
commit 47ee01798a

View File

@ -1,14 +1,19 @@
//go:build linux
// +build linux // +build linux
package netlink package netlink
import ( import (
"os"
"testing" "testing"
"github.com/vishvananda/netlink/nl" "github.com/vishvananda/netlink/nl"
) )
func TestXfrmMonitorExpire(t *testing.T) { func TestXfrmMonitorExpire(t *testing.T) {
if os.Getenv("CI") == "true" {
t.Skipf("Flaky in CI: Intermittently causes 10 minute timeout")
}
defer setUpNetlinkTest(t)() defer setUpNetlinkTest(t)()
ch := make(chan XfrmMsg) ch := make(chan XfrmMsg)