Skip to content

Commit

Permalink
Parallelize tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jm96441n committed May 12, 2023
1 parent f174375 commit 1d4c4c4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
)

func TestSerializeGatewayClassConfig_HappyPath(t *testing.T) {
t.Parallel()
type args struct {
ctx context.Context
gw *gwv1beta1.Gateway
Expand Down Expand Up @@ -224,6 +225,7 @@ func TestSerializeGatewayClassConfig_HappyPath(t *testing.T) {
}

func TestSerializeGatewayClassConfig_SadPath(t *testing.T) {
t.Parallel()
type args struct {
ctx context.Context
gw *gwv1beta1.Gateway
Expand Down Expand Up @@ -624,6 +626,7 @@ func TestSerializeGatewayClassConfig_SadPath(t *testing.T) {
wantErr: false,
},
}

for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
s := runtime.NewScheme()
Expand Down

0 comments on commit 1d4c4c4

Please sign in to comment.