Skip to content

Commit 965c0ed

Browse files
committed
fix: helm tests, seem like they need more time in this env
1 parent c5cb5b3 commit 965c0ed

File tree

3 files changed

+6
-18
lines changed

3 files changed

+6
-18
lines changed

k8s-tests/chainsaw/helm/helm-chart-test/chainsaw-test.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,18 @@
1818
# LICENSE END
1919
#
2020

21-
22-
23-
24-
25-
26-
2721
# yaml-language-server: $schema=https://raw.githubusercontent.com/kyverno/chainsaw/main/.schemas/json/test-chainsaw-v1alpha1.json
2822
apiVersion: chainsaw.kyverno.io/v1alpha1
2923
kind: Test
3024
metadata:
3125
name: helm-chart
3226
spec:
33-
description: This test asserts that the helm chart is working as expected. Specifcally it asserts that the helm chart works when given a different
27+
description: This test asserts that the helm chart is working as expected. Specifically it asserts that the helm chart works when given a different
3428
deployment name than skyhook-operator and that the tolerations that are given to the chart through a values file work as expected.
3529
concurrent: false
3630
timeouts:
37-
assert: 120s
38-
exec: 120s
31+
assert: 240s
32+
exec: 240s
3933
steps:
4034
- try:
4135
- script:

k8s-tests/chainsaw/helm/helm-scale-test/chainsaw-test.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@
1818
# LICENSE END
1919
#
2020

21-
22-
23-
24-
25-
26-
2721
# yaml-language-server: $schema=https://raw.githubusercontent.com/kyverno/chainsaw/main/.schemas/json/test-chainsaw-v1alpha1.json
2822
apiVersion: chainsaw.kyverno.io/v1alpha1
2923
kind: Test
@@ -34,8 +28,8 @@ spec:
3428
deployment name than skyhook-operator and that the tolerations that are given to the chart through a values file work as expected.
3529
concurrent: false
3630
timeouts:
37-
assert: 120s
38-
exec: 120s
31+
assert: 240s
32+
exec: 240s
3933
steps:
4034
- try:
4135
- script:

operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ merge-coverage:
223223
echo "mode: set" > $(REPORTING)/cover.out
224224
## skip first line with +2
225225
tail -n +2 $(REPORTING)/temp-cover.out | sed '/mode: set/d' >> $(REPORTING)/cover.out
226-
$(sedrp) 's/^\/.*(\/skyhook\/operator.*)/github\.com\/NVIDIA\1/g' $(REPORTING)/cover.out ## TODO: need to test more
226+
$(sedrp) 's|^/.*skyhook/operator/(.*)$$|github\.com/NVIDIA/skyhook/\1|g' $(REPORTING)/cover.out
227227

228228
.PHONY: lint
229229
lint: golangci-lint license-check ## Run golangci-lint linter & yamllint

0 commit comments

Comments
 (0)