Skip to content

Commit aba710a

Browse files
committed
Add additional comments
1 parent 38e20ee commit aba710a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/cel/common.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ func uniqueResourceName(name string) string {
9191
func validateCrd(t *testing.T, wantErrors []string, crd client.Object, k8sClient client.Client) {
9292
t.Helper()
9393
g := NewWithT(t)
94+
95+
// Create the resource in the cluster
96+
// Use a context with a timeout to avoid hanging tests
9497
var deleteErr error
9598
timeoutConfig := framework.DefaultTimeoutConfig()
9699
ctx, cancel := context.WithTimeout(context.Background(), timeoutConfig.KubernetesClientTimeout)

0 commit comments

Comments
 (0)