Skip to content

Commit

Permalink
Enable parallel execution for deployment service tests
Browse files Browse the repository at this point in the history
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
  • Loading branch information
Warashi committed Dec 26, 2024
1 parent 54309c9 commit b849517
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/app/pipedv1/plugin/kubernetes/deployment/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ func setupTestPluginConfigAndDynamicClient(t *testing.T) (*config.PipedPlugin, d
}

func TestDeploymentService_executeK8sSyncStage(t *testing.T) {
t.Parallel()

ctx := context.Background()

// read the application config from the example file
Expand Down Expand Up @@ -199,6 +201,8 @@ func TestDeploymentService_executeK8sSyncStage(t *testing.T) {
}

func TestDeploymentService_executeK8sSyncStage_withInputNamespace(t *testing.T) {
t.Parallel()

ctx := context.Background()

// read the application config from the example file
Expand Down Expand Up @@ -268,6 +272,8 @@ func TestDeploymentService_executeK8sSyncStage_withInputNamespace(t *testing.T)
}

func TestDeploymentService_executeK8sSyncStage_withPrune(t *testing.T) {
t.Parallel()

ctx := context.Background()

// initialize tool registry
Expand Down Expand Up @@ -372,6 +378,8 @@ func TestDeploymentService_executeK8sSyncStage_withPrune(t *testing.T) {
}

func TestDeploymentService_executeK8sSyncStage_withPrune_changesNamespace(t *testing.T) {
t.Parallel()

ctx := context.Background()

// initialize tool registry
Expand Down Expand Up @@ -492,6 +500,8 @@ func TestDeploymentService_executeK8sSyncStage_withPrune_changesNamespace(t *tes
}

func TestDeploymentService_executeK8sSyncStage_withPrune_clusterScoped(t *testing.T) {
t.Parallel()

ctx := context.Background()

// initialize tool registry
Expand Down

0 comments on commit b849517

Please sign in to comment.