Skip to content

Commit

Permalink
fix: update chainsaw test apply timeout to 30s (kyverno#11794)
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Choudhary <[email protected]>
  • Loading branch information
vishal-chdhry authored Dec 20, 2024
1 parent aea9014 commit f51a49f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
1 change: 1 addition & 0 deletions .chainsaw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: configuration
spec:
timeouts:
apply: 30s
assert: 90s
error: 90s
parallel: 1
Expand Down
4 changes: 4 additions & 0 deletions 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Go fmt...
Go vet...
Build cli binary...
Fix CLI test files...
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ resources:
- resource.yaml
results:
- kind: Pod
patchedResources: patched.yaml
policy: karpenter-annotations-to-nodeselector
resources:
- soft-pod-antiaffinity-1-copy
- soft-pod-antiaffinity-1
result: pass
rule: hard-nodeselector-lifecycle-on-demand
- kind: Pod
patchedResources: patched.yaml
policy: karpenter-annotations-to-nodeselector
resources:
- soft-pod-antiaffinity-1
- soft-pod-antiaffinity-1-copy
result: pass
rule: hard-nodeselector-lifecycle-on-demand
12 changes: 6 additions & 6 deletions test/cli/test-mutate/kyverno-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ results:
result: pass
rule: add-label
- kind: Pod
patchedResources: patchedResource6.yaml
patchedResources: patchedResource3.yaml
policy: add-label
resources:
- same-name-but-diff-kind
- production/same-name-but-diff-namespace
result: pass
rule: add-label
- kind: Pod
patchedResources: patchedResource2.yaml
patchedResources: patchedResource6.yaml
policy: add-label
resources:
- testing/same-name-but-diff-namespace
- same-name-but-diff-kind
result: pass
rule: add-label
- kind: Pod
patchedResources: patchedResource3.yaml
patchedResources: patchedResource2.yaml
policy: add-label
resources:
- production/same-name-but-diff-namespace
- testing/same-name-but-diff-namespace
result: pass
rule: add-label
- kind: Pod
Expand Down

0 comments on commit f51a49f

Please sign in to comment.