Skip to content

Commit

Permalink
spire test
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
  • Loading branch information
glazychev-art committed Dec 21, 2023
1 parent aa6de05 commit 8329bc9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 27 deletions.
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ module github.com/networkservicemesh/integration-k8s-aks

go 1.20

require (
github.com/networkservicemesh/integration-tests v0.0.0-20231206083754-7c08d32b8b4b
github.com/stretchr/testify v1.8.1
)
require github.com/networkservicemesh/integration-tests v0.0.0-20231219115352-a3a362bd381d

replace github.com/networkservicemesh/integration-tests => github.com/glazychev-art/integration-tests v0.0.0-20231221062347-605e06f2e841

require (
github.com/davecgh/go-spew v1.1.1 // indirect
Expand All @@ -15,6 +14,7 @@ require (
github.com/networkservicemesh/gotestmd v0.0.0-20220628095933-eabbdc09e0dc // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/sirupsen/logrus v1.8.1 // indirect
github.com/stretchr/testify v1.8.1 // indirect
golang.org/x/sys v0.6.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/glazychev-art/integration-tests v0.0.0-20231221062347-605e06f2e841 h1:SWg4kDUMBZIg7HCQVye7yCCONn+P4OwixqsfGz5hUsk=
github.com/glazychev-art/integration-tests v0.0.0-20231221062347-605e06f2e841/go.mod h1:o3+iZ6iQvk2ukrAxQhaDOXUPhhQRW4O9BMi6YolZ4pI=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/kelseyhightower/envconfig v1.4.0 h1:Im6hONhd3pLkfDFsbRgu68RDNkGF1r3dvMUtDTo2cv8=
Expand All @@ -14,8 +16,6 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/networkservicemesh/gotestmd v0.0.0-20220628095933-eabbdc09e0dc h1:1L/OisEFsOyhwaqeJpYmM1nlJ2dBusUMiszPDBlUip0=
github.com/networkservicemesh/gotestmd v0.0.0-20220628095933-eabbdc09e0dc/go.mod h1:8EWnekTRNX+NxBdTFE24WqUoM7SgJHbiafDBrIIdOmQ=
github.com/networkservicemesh/integration-tests v0.0.0-20231206083754-7c08d32b8b4b h1:aIht/9oOF2GZhK7iFB6a99vTYD03T2+OixL3CvnLiwI=
github.com/networkservicemesh/integration-tests v0.0.0-20231206083754-7c08d32b8b4b/go.mod h1:o3+iZ6iQvk2ukrAxQhaDOXUPhhQRW4O9BMi6YolZ4pI=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
Expand Down
36 changes: 15 additions & 21 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,9 @@ package main_test
import (
"testing"

"github.com/stretchr/testify/suite"

"github.com/networkservicemesh/integration-tests/extensions/parallel"
"github.com/networkservicemesh/integration-tests/suites/afxdp"
"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"
)

func TestRunFeatureSuite(t *testing.T) {
Expand All @@ -40,18 +34,18 @@ func TestRunBasicSuite(t *testing.T) {
parallel.Run(t, new(basic.Suite))
}

func TestRunAfxdpSuite(t *testing.T) {
parallel.Run(t, new(afxdp.Suite))
}

func TestRunMemorySuite(t *testing.T) {
parallel.Run(t, new(memory.Suite))
}

func TestRunHealSuite(t *testing.T) {
suite.Run(t, new(heal.Suite))
}

func TestRunObservabilitySuite(t *testing.T) {
suite.Run(t, new(observability.Suite))
}
//func TestRunAfxdpSuite(t *testing.T) {

Check failure on line 37 in main_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint / golangci-lint

commentFormatting: put a space between `//` and comment text (gocritic)
// parallel.Run(t, new(afxdp.Suite))
//}
//
//func TestRunMemorySuite(t *testing.T) {
// parallel.Run(t, new(memory.Suite))
//}
//
//func TestRunHealSuite(t *testing.T) {
// suite.Run(t, new(heal.Suite))
//}
//
//func TestRunObservabilitySuite(t *testing.T) {
// suite.Run(t, new(observability.Suite))
//}

0 comments on commit 8329bc9

Please sign in to comment.