Skip to content

Commit

Permalink
Merge pull request #225 from networkservicemesh/parallel
Browse files Browse the repository at this point in the history
Run multicluster suite in parallel with 4 workers
  • Loading branch information
denis-tingaikin authored Jul 28, 2023
2 parents b757191 + f02449d commit 2bd82c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:

- name: Run interdomain testing
run: |
go test -count 1 -timeout 2h -race -v ./...
go test -count 1 -timeout 2h -race -v ./... -parallel 4
env:
KUBECONFIG1: /tmp/config1
KUBECONFIG2: /tmp/config2
Expand Down
4 changes: 2 additions & 2 deletions entry_point_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ import (
"testing"

"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"

"github.com/networkservicemesh/integration-tests/extensions/parallel"
"github.com/networkservicemesh/integration-tests/suites/multicluster"
)

func TestFloatingInterdomainBasicSuite(t *testing.T) {
require.NoError(t, flag.Set("gotestmd.t", "10m"))
os.Setenv("KUBECONFIG", os.Getenv("KUBECONFIG1"))
suite.Run(t, new(multicluster.Suite))
parallel.Run(t, new(multicluster.Suite), "TestFloating_vl3_scale_from_zero", "TestFloating_vl3_dns", "TestFloating_nse_composition")
}

0 comments on commit 2bd82c3

Please sign in to comment.