Skip to content

Commit d518ada

Browse files
committed
Add t.Parallel()
1 parent ddce60f commit d518ada

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

tests/cel/clientsettingspolicy_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const (
4040
)
4141

4242
func TestClientSettingsPoliciesTargetRefKind(t *testing.T) {
43+
t.Parallel()
4344
tests := []struct {
4445
policySpec ngfAPIv1alpha1.ClientSettingsPolicySpec
4546
name string
@@ -96,12 +97,14 @@ func TestClientSettingsPoliciesTargetRefKind(t *testing.T) {
9697

9798
for _, tt := range tests {
9899
t.Run(tt.name, func(t *testing.T) {
100+
t.Parallel()
99101
validateClientSettingsPolicy(t, tt)
100102
})
101103
}
102104
}
103105

104106
func TestClientSettingsPoliciesTargetRefGroup(t *testing.T) {
107+
t.Parallel()
105108
tests := []struct {
106109
policySpec ngfAPIv1alpha1.ClientSettingsPolicySpec
107110
name string
@@ -140,6 +143,7 @@ func TestClientSettingsPoliciesTargetRefGroup(t *testing.T) {
140143

141144
for _, tt := range tests {
142145
t.Run(tt.name, func(t *testing.T) {
146+
t.Parallel()
143147
validateClientSettingsPolicy(t, tt)
144148
})
145149
}

tests/go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ go 1.24.2
55
replace github.com/nginx/nginx-gateway-fabric/v2 => ../
66

77
require (
8+
github.com/nginx/nginx-gateway-fabric v1.6.2
89
github.com/nginx/nginx-gateway-fabric/v2 v2.0.0
910
github.com/onsi/ginkgo/v2 v2.23.4
1011
github.com/onsi/gomega v1.38.0

tests/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+
9494
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
9595
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus=
9696
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw=
97+
github.com/nginx/nginx-gateway-fabric v1.6.2 h1:ktdShWxT/Drh/5/u8S5QMRgnnBGvVuFDV10ttRk0W+c=
98+
github.com/nginx/nginx-gateway-fabric v1.6.2/go.mod h1:Fi2hdmoNj9nQRX9YQDju+ntMPG4Fgcw+irfl/GYWSEk=
9799
github.com/onsi/ginkgo/v2 v2.23.4 h1:ktYTpKJAVZnDT4VjxSbiBenUjmlL/5QkBEocaWXiQus=
98100
github.com/onsi/ginkgo/v2 v2.23.4/go.mod h1:Bt66ApGPBFzHyR+JO10Zbt0Gsp4uWxu5mIOTusL46e8=
99101
github.com/onsi/gomega v1.38.0 h1:c/WX+w8SLAinvuKKQFh77WEucCnPk4j2OTUr7lt7BeY=

0 commit comments

Comments
 (0)