Skip to content

Commit

Permalink
Merge pull request #248 from networkservicemesh/refactor-parallel-pac…
Browse files Browse the repository at this point in the history
…kage

Refactor 'parallel' package.
  • Loading branch information
denis-tingaikin authored Apr 10, 2024
2 parents 5c155ac + b2612af commit 42dfb68
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion entry_point_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//
// Copyright (c) 2022-2024 Cisco and/or its affiliates.
//
// Copyright (c) 2024 Pragmagic Inc. and/or its affiliates.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -32,5 +34,12 @@ import (
func TestRunBasicInterdomainSuite(t *testing.T) {
require.NoError(t, flag.Set("gotestmd.t", "10m"))
os.Setenv("KUBECONFIG", os.Getenv("KUBECONFIG1"))
parallel.Run(t, new(basic.Suite), "TestFloating_vl3_basic", "TestFloating_vl3_dns", "TestFloating_vl3_scale_from_zero", "TestFloating_nse_composition")

basicSuite := new(basic.Suite)
parallel.Run(t, basicSuite,
parallel.WithRunningTestsSynchronously(
basicSuite.TestFloating_vl3_basic,
basicSuite.TestFloating_vl3_dns,
basicSuite.TestFloating_vl3_scale_from_zero,
basicSuite.TestFloating_nse_composition))
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/networkservicemesh/integration-interdomain-k8s
go 1.20

require (
github.com/networkservicemesh/integration-tests v0.0.0-20240227135027-7ac3a81dd853
github.com/networkservicemesh/integration-tests v0.0.0-20240409142903-9f43b1083338
github.com/stretchr/testify v1.8.4
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ 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-20240227135027-7ac3a81dd853 h1:qhZj8zv5bt/+a8Q9T1Zlj8BzGqNt0GVBG7rvXqxTNfk=
github.com/networkservicemesh/integration-tests v0.0.0-20240227135027-7ac3a81dd853/go.mod h1:WLpOEldvahZQkJSdU3kspIS4tB1x1hDnWP08B/nCTjM=
github.com/networkservicemesh/integration-tests v0.0.0-20240409142903-9f43b1083338 h1:mPLP2/iaoEUV5Y3FDeUztk/n8UKfiStcu4Y0tcaHB6c=
github.com/networkservicemesh/integration-tests v0.0.0-20240409142903-9f43b1083338/go.mod h1:cT5l2gQd8TEjjgoxLEEF9oR2DB4AH/KlLQEeNvba4U4=
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

0 comments on commit 42dfb68

Please sign in to comment.