Skip to content

Commit

Permalink
Enable feature suite with Calico
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Glazychev <[email protected]>
  • Loading branch information
glazychev-art committed Mar 29, 2022
1 parent d207925 commit c734d7a
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 c734d7a

Please sign in to comment.