diff --git a/libnetwork/ipvs/ipvs_test.go b/libnetwork/ipvs/ipvs_test.go index d9d955a9b6eb1658aab4da55fa4d62532a9bf83c..62c9a8f9cf621c1aad729193cde37fff50c47aa2 100644 --- a/libnetwork/ipvs/ipvs_test.go +++ b/libnetwork/ipvs/ipvs_test.go @@ -117,7 +117,7 @@ func checkService(t *testing.T, checkPresent bool, protocol, schedMethod, servic func TestGetFamily(t *testing.T) { if testutils.RunningOnCircleCI() { - t.Skipf("Skipping as not supported on CIRCLE CI kernel") + t.Skip("Skipping as not supported on CIRCLE CI kernel") } id, err := getIPVSFamily() @@ -127,7 +127,7 @@ func TestGetFamily(t *testing.T) { func TestService(t *testing.T) { if testutils.RunningOnCircleCI() { - t.Skipf("Skipping as not supported on CIRCLE CI kernel") + t.Skip("Skipping as not supported on CIRCLE CI kernel") } defer testutils.SetupTestOSContext(t)() @@ -178,6 +178,7 @@ func TestService(t *testing.T) { } err = i.DelService(&s) + assert.NoError(t, err) checkService(t, false, protocol, lastMethod, serviceAddress) } } @@ -186,7 +187,7 @@ func TestService(t *testing.T) { func createDummyInterface(t *testing.T) { if testutils.RunningOnCircleCI() { - t.Skipf("Skipping as not supported on CIRCLE CI kernel") + t.Skip("Skipping as not supported on CIRCLE CI kernel") } dummy := &netlink.Dummy{