Skip to content

Commit

Permalink
Merge pull request #410 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 3, 2024
2 parents e867c16 + ee1dd20 commit f64611b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
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-k8s-aws
go 1.20

require (
github.com/networkservicemesh/integration-tests v0.0.0-20240227135027-7ac3a81dd853
github.com/networkservicemesh/integration-tests v0.0.0-20240402140429-3326f40ee5f5
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-20240402140429-3326f40ee5f5 h1:EnChDRay7K5L1WQ2++IJ8EKHVGwh4yd8hFC84OVLtIw=
github.com/networkservicemesh/integration-tests v0.0.0-20240402140429-3326f40ee5f5/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
11 changes: 10 additions & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//
// Copyright (c) 2023 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 @@ -33,7 +35,14 @@ import (
)

func TestRunFeatureSuite(t *testing.T) {
parallel.Run(t, new(features.Suite), "TestScale_from_zero", "TestVl3_dns", "TestVl3_scale_from_zero", "TestNse_composition", "TestSelect_forwarder")
featuresSuite := new(features.Suite)
parallel.Run(t, featuresSuite,
parallel.WithRunningTestsSynchronously(
featuresSuite.TestScale_from_zero,
featuresSuite.TestNse_composition,
featuresSuite.TestSelect_forwarder,
featuresSuite.TestVl3_dns,
featuresSuite.TestVl3_scale_from_zero))
}

func TestRunBasicSuite(t *testing.T) {
Expand Down

0 comments on commit f64611b

Please sign in to comment.