Previous test disable was to broad (15 tests), narrowed to the four failing.
@@ -13,7 +13,7 @@ import (
"github.com/networkservicemesh/networkservicemesh/test/kubetest/crds"
. "github.com/onsi/gomega"
"github.com/sirupsen/logrus"
- "k8s.io/api/core/v1"
+ v1 "k8s.io/api/core/v1"
)
type Deployment int
@@ -32,12 +32,20 @@ func TestDeploymentOrder2EndpointClient(t *testing.T) {
}
func TestDeploymentOrder2EndpointClientWebhook(t *testing.T) {
+ if !kubetest.IsBrokeTestsEnabled() {
+ t.Skip("Skip, issue - https://github.com/networkservicemesh/networkservicemesh/issues/1372")
+ return
+ }
testDeploymentOrder(t, []Deployment{
DeployEndpoint, DeployEndpoint,
DeployClientWebhook})
}
func TestDeploymentOrder2EndpointClientAndWebhook(t *testing.T) {
+ if !kubetest.IsBrokeTestsEnabled() {
+ t.Skip("Skip, issue - https://github.com/networkservicemesh/networkservicemesh/issues/1372")
+ return
+ }
testDeploymentOrder(t, []Deployment{
DeployEndpoint, DeployEndpoint,
DeployClient,
@@ -118,6 +126,10 @@ func TestDeploymentOrderServiceClientEndpointClient(t *testing.T) {
}
func TestDeploymentOrderServiceClientWebhookEndpoint(t *testing.T) {
+ if !kubetest.IsBrokeTestsEnabled() {
+ t.Skip("Skip, issue - https://github.com/networkservicemesh/networkservicemesh/issues/1372")
+ return
+ }
testDeploymentOrder(t, []Deployment{
DeployService,
DeployClientWebhook,
@@ -125,6 +137,10 @@ func TestDeploymentOrderServiceClientWebhookEndpoint(t *testing.T) {
}
func TestDeploymentOrderService4ClientWebhook2Endpoint(t *testing.T) {
+ if !kubetest.IsBrokeTestsEnabled() {
+ t.Skip("Skip, issue - https://github.com/networkservicemesh/networkservicemesh/issues/1372")
+ return
+ }
testDeploymentOrder(t, []Deployment{
DeployService,
DeployClientWebhook, DeployClientWebhook, DeployClientWebhook, DeployClientWebhook,
@@ -134,11 +150,6 @@ func TestDeploymentOrderService4ClientWebhook2Endpoint(t *testing.T) {
func testDeploymentOrder(t *testing.T, order []Deployment) {
RegisterTestingT(t)
- if !kubetest.IsBrokeTestsEnabled() {
- t.Skip("Skip, issue - https://github.com/networkservicemesh/networkservicemesh/issues/1372")
- return
- }
-
if testing.Short() {
t.Skip("Skip, please run without -short")
return
