Skip to content

Commit

Permalink
Merge pull request #621 from glazychev-art/enable_feature_calico
Browse files Browse the repository at this point in the history
Enable feature suite with Calico
  • Loading branch information
denis-tingaikin authored Apr 1, 2022
2 parents 2ae1387 + c734d7a commit fa5da94
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions calico_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"github.com/stretchr/testify/suite"

"github.com/networkservicemesh/integration-tests/suites/basic"
"github.com/networkservicemesh/integration-tests/suites/features"
"github.com/networkservicemesh/integration-tests/suites/heal"
"github.com/networkservicemesh/integration-tests/suites/memory"
"github.com/networkservicemesh/integration-tests/suites/observability"
Expand All @@ -42,3 +43,22 @@ func TestRunMemorySuiteCalico(t *testing.T) {
func TestRunObservabilitySuiteCalico(t *testing.T) {
suite.Run(t, new(observability.Suite))
}

// Disabled tests:
// TestMutually_aware_nses - https://github.com/networkservicemesh/integration-k8s-kind/issues/627
// TestNse_composition - https://github.com/networkservicemesh/integration-k8s-kind/issues/625
type featuresSuite struct {
features.Suite
}

func (s *featuresSuite) BeforeTest(suiteName, testName string) {
if testName == "TestMutually_aware_nses" ||
testName == "TestNse_composition" {
s.T().Skip()
}
s.Suite.BeforeTest(suiteName, testName)
}

func TestRunFeatureSuiteCalico(t *testing.T) {
suite.Run(t, new(featuresSuite))
}

0 comments on commit fa5da94

Please sign in to comment.