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 28, 2022
1 parent ab0514c commit 9dd98e1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 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,20 @@ func TestRunMemorySuiteCalico(t *testing.T) {
func TestRunObservabilitySuiteCalico(t *testing.T) {
suite.Run(t, new(observability.Suite))
}

// TestMutually_aware_nses, TestNse_composition are temporarily disabled
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 9dd98e1

Please sign in to comment.