diff --git a/libnetwork/ipvs/ipvs_test.go b/libnetwork/ipvs/ipvs_test.go index d9d955a9b6..62c9a8f9cf 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{