File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 2121package interdomain
2222
2323import (
24+ "strings"
2425 "testing"
2526
2627 "github.com/stretchr/testify/suite"
@@ -55,7 +56,7 @@ type msmSuite struct {
5556}
5657
5758func (s * msmSuite ) BeforeTest (suiteName , testName string ) {
58- if testName == "TestNsm_istio " {
59+ if strings . ToLower ( testName ) == "testnsm_istio " {
5960 s .T ().Skip ()
6061 }
6162}
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ package ovsextra_test
2020
2121import (
2222 "flag"
23+ "strings"
2324 "testing"
2425
2526 "github.com/networkservicemesh/integration-tests/extensions/parallel"
@@ -35,7 +36,7 @@ type kindFeatOvsSuite struct {
3536}
3637
3738func (s * kindFeatOvsSuite ) BeforeTest (suiteName , testName string ) {
38- if testName == "TestWebhook_smartvf " {
39+ if strings . ToLower ( testName ) == "testwebhook_smartvf " {
3940 s .T ().Skip ()
4041 }
4142}
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ package single
2020
2121import (
2222 "flag"
23+ "strings"
2324 "testing"
2425
2526 "github.com/stretchr/testify/suite"
@@ -40,11 +41,11 @@ type calicoFeatureSuite struct {
4041}
4142
4243func (s * calicoFeatureSuite ) BeforeTest (suiteName , testName string ) {
43- switch testName {
44+ switch strings . ToLower ( testName ) {
4445 case
45- "TestNse_composition " ,
46- "TestVl3_basic " ,
47- "TestVl3_scale_from_zero " :
46+ "testnse_composition " ,
47+ "testvl3_basic " ,
48+ "testvl3_scale_from_zero " :
4849 s .T ().Skip ()
4950 }
5051}
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ package single
1818
1919import (
2020 "flag"
21+ "strings"
2122 "testing"
2223
2324 "github.com/networkservicemesh/integration-tests/extensions/parallel"
@@ -35,10 +36,10 @@ type kindOvsSuite struct {
3536}
3637
3738func (s * kindOvsSuite ) BeforeTest (suiteName , testName string ) {
38- switch testName {
39+ switch strings . ToLower ( testName ) {
3940 case
40- "TestSmartVF2SmartVF " ,
41- "TestKernel2KernelVLAN " :
41+ "testsmartvf2smartvf " ,
42+ "testkernel2kernelvlan " :
4243 s .T ().Skip ()
4344 }
4445}
You can’t perform that action at this time.
0 commit comments