diff --git a/test/artillery/executor-smoke/crd/crd.yaml b/test/artillery/executor-smoke/crd/crd.yaml index dbdc33b252c..4451c48daa4 100644 --- a/test/artillery/executor-smoke/crd/crd.yaml +++ b/test/artillery/executor-smoke/crd/crd.yaml @@ -15,6 +15,7 @@ spec: path: test/artillery/executor-smoke/artillery-smoke-test.yaml executionRequest: jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 256Mi\n cpu: 128m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -33,4 +34,5 @@ spec: path: test/artillery/executor-smoke/artillery-smoke-test-negative.yaml executionRequest: negativeTest: true - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 256Mi\n cpu: 128m\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 256Mi\n cpu: 128m\n" + activeDeadlineSeconds: 60 \ No newline at end of file diff --git a/test/container-executor/executor-smoke/crd/curl.yaml b/test/container-executor/executor-smoke/crd/curl.yaml index 46eb3bd52ac..d0069d8cc6c 100644 --- a/test/container-executor/executor-smoke/crd/curl.yaml +++ b/test/container-executor/executor-smoke/crd/curl.yaml @@ -15,6 +15,7 @@ spec: type: basic value: https://testkube.kubeshop.io/ jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 32Mi\n cpu: 32m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -34,3 +35,4 @@ spec: value: https://testkube.non.existing.url.example negativeTest: true jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 32Mi\n cpu: 32m\n" + activeDeadlineSeconds: 60 \ No newline at end of file diff --git a/test/container-executor/executor-smoke/crd/cypress.yaml b/test/container-executor/executor-smoke/crd/cypress.yaml index c6b1e422125..bb61bc2d0e2 100644 --- a/test/container-executor/executor-smoke/crd/cypress.yaml +++ b/test/container-executor/executor-smoke/crd/cypress.yaml @@ -31,7 +31,7 @@ spec: dirs: - ./ jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" - + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -65,4 +65,5 @@ spec: volumeMountPath: /data/artifacts dirs: - ./ - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 \ No newline at end of file diff --git a/test/container-executor/executor-smoke/crd/k6.yaml b/test/container-executor/executor-smoke/crd/k6.yaml index 216a962553d..80d05e4ba91 100644 --- a/test/container-executor/executor-smoke/crd/k6.yaml +++ b/test/container-executor/executor-smoke/crd/k6.yaml @@ -36,4 +36,5 @@ spec: workingDir: test/k6/executor-tests executionRequest: args: ["run", "k6-smoke-test-without-envs.js"] - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 64Mi\n cpu: 128m\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 64Mi\n cpu: 128m\n" + activeDeadlineSeconds: 60 \ No newline at end of file diff --git a/test/container-executor/executor-smoke/crd/playwright.yaml b/test/container-executor/executor-smoke/crd/playwright.yaml index 7d648be5d9b..8a826a39420 100644 --- a/test/container-executor/executor-smoke/crd/playwright.yaml +++ b/test/container-executor/executor-smoke/crd/playwright.yaml @@ -20,4 +20,5 @@ spec: volumeMountPath: /data/artifacts dirs: - ./ - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 \ No newline at end of file diff --git a/test/curl/executor-tests/crd/smoke.yaml b/test/curl/executor-tests/crd/smoke.yaml index b078536441f..22a434f289e 100644 --- a/test/curl/executor-tests/crd/smoke.yaml +++ b/test/curl/executor-tests/crd/smoke.yaml @@ -15,6 +15,7 @@ spec: path: test/curl/executor-tests/curl-smoke-test.json executionRequest: jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 32Mi\n cpu: 32m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -33,4 +34,5 @@ spec: path: test/curl/executor-tests/curl-smoke-test-negative.json executionRequest: negativeTest: true - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 32Mi\n cpu: 32m\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 32Mi\n cpu: 32m\n" + activeDeadlineSeconds: 60 \ No newline at end of file diff --git a/test/cypress/executor-tests/crd/crd.yaml b/test/cypress/executor-tests/crd/crd.yaml index 26cb71e5bd3..df16098422b 100644 --- a/test/cypress/executor-tests/crd/crd.yaml +++ b/test/cypress/executor-tests/crd/crd.yaml @@ -25,6 +25,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -55,6 +56,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -85,6 +87,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -113,6 +116,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -143,6 +147,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -173,6 +178,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -201,6 +207,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -229,6 +236,7 @@ spec: - --config - video=true jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -261,6 +269,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -289,6 +298,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- # cypress-default-executor-smoke-electron-testsource TestSource apiVersion: tests.testkube.io/v1 @@ -326,6 +336,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- # cypress-default-executor-smoke-electron-testsource-git-dir - TestSource apiVersion: tests.testkube.io/v1 @@ -363,6 +374,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -391,6 +403,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -421,6 +434,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -451,6 +465,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -469,6 +484,7 @@ spec: path: test/cypress/executor-tests/cypress-9 executionRequest: jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -492,6 +508,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -515,6 +532,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -536,6 +554,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -559,6 +578,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -582,6 +602,7 @@ spec: - --config - video=false jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -602,4 +623,5 @@ spec: args: - --some-incorrect-argument negativeTest: true - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 1Gi\n cpu: 1\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 1Gi\n cpu: 1\n" + activeDeadlineSeconds: 120 diff --git a/test/dashboard-e2e/crd/crd.yaml b/test/dashboard-e2e/crd/crd.yaml index 18e59e65ad4..1dbace08ae6 100644 --- a/test/dashboard-e2e/crd/crd.yaml +++ b/test/dashboard-e2e/crd/crd.yaml @@ -31,4 +31,5 @@ spec: artifactRequest: storageClassName: standard jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 4Gi\n cpu: 3\n" + activeDeadlineSeconds: 240 schedule: "15 */4 * * *" \ No newline at end of file diff --git a/test/ginkgo/executor-tests/crd/smoke.yaml b/test/ginkgo/executor-tests/crd/smoke.yaml index 1041b23b911..1a1fe5be3dc 100644 --- a/test/ginkgo/executor-tests/crd/smoke.yaml +++ b/test/ginkgo/executor-tests/crd/smoke.yaml @@ -15,6 +15,7 @@ spec: path: test/ginkgo/executor-tests/smoke executionRequest: jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 @@ -34,4 +35,5 @@ spec: path: test/ginkgo/executor-tests/smoke-negative executionRequest: negativeTest: true - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 \ No newline at end of file diff --git a/test/gradle/executor-smoke/crd/crd.yaml b/test/gradle/executor-smoke/crd/crd.yaml index 44a9d0529ed..cc453d29df1 100644 --- a/test/gradle/executor-smoke/crd/crd.yaml +++ b/test/gradle/executor-smoke/crd/crd.yaml @@ -22,6 +22,7 @@ spec: value: "true" type: basic jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -45,6 +46,7 @@ spec: value: "true" type: basic jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -68,6 +70,7 @@ spec: value: "true" type: basic jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -91,6 +94,7 @@ spec: value: "true" type: basic jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -109,4 +113,5 @@ spec: path: examples/hello-gradle-jdk18 executionRequest: negativeTest: true - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 \ No newline at end of file diff --git a/test/jmeter/executor-tests/crd/smoke.yaml b/test/jmeter/executor-tests/crd/smoke.yaml index 3d4aa8b3807..6ea84e41e59 100644 --- a/test/jmeter/executor-tests/crd/smoke.yaml +++ b/test/jmeter/executor-tests/crd/smoke.yaml @@ -15,6 +15,7 @@ spec: path: test/jmeter/executor-tests/jmeter-executor-smoke.jmx executionRequest: jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -35,6 +36,7 @@ spec: args: - "jmeter-executor-smoke.jmx" jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -60,6 +62,7 @@ spec: args: - "-JURL_PROPERTY=testkube.io" jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -78,4 +81,5 @@ spec: path: test/jmeter/executor-tests/jmeter-executor-smoke-negative.jmx executionRequest: negativeTest: true - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 \ No newline at end of file diff --git a/test/k6/executor-tests/crd/other.yaml b/test/k6/executor-tests/crd/other.yaml index cabc35acbd0..a4242529bca 100644 --- a/test/k6/executor-tests/crd/other.yaml +++ b/test/k6/executor-tests/crd/other.yaml @@ -24,4 +24,5 @@ spec: - -e - K6_ENV_FROM_PARAM=K6_ENV_FROM_PARAM_value - k6-smoke-test.js - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 128Mi\n cpu: 128m\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 128Mi\n cpu: 128m\n" + activeDeadlineSeconds: 60 \ No newline at end of file diff --git a/test/k6/executor-tests/crd/smoke.yaml b/test/k6/executor-tests/crd/smoke.yaml index f776a09cf9b..77242df0d25 100644 --- a/test/k6/executor-tests/crd/smoke.yaml +++ b/test/k6/executor-tests/crd/smoke.yaml @@ -23,6 +23,7 @@ spec: - -e - K6_ENV_FROM_PARAM=K6_ENV_FROM_PARAM_value jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 128Mi\n cpu: 128m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -49,6 +50,7 @@ spec: - -e - K6_ENV_FROM_PARAM=K6_ENV_FROM_PARAM_value jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 128Mi\n cpu: 128m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -67,4 +69,5 @@ spec: path: test/k6/executor-tests/k6-smoke-test-negative.js executionRequest: negativeTest: true - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 128Mi\n cpu: 128m\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 128Mi\n cpu: 128m\n" + activeDeadlineSeconds: 60 \ No newline at end of file diff --git a/test/kubepug/executor-smoke/crd/crd.yaml b/test/kubepug/executor-smoke/crd/crd.yaml index 0d997dcb270..701d225b53a 100644 --- a/test/kubepug/executor-smoke/crd/crd.yaml +++ b/test/kubepug/executor-smoke/crd/crd.yaml @@ -15,6 +15,7 @@ spec: path: test/kubepug/executor-smoke/crd/crd.yaml executionRequest: jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 64Mi\n cpu: 128m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -33,4 +34,5 @@ spec: path: test/kubepug/executor-smoke/kubepug-smoke-test-negative.yaml executionRequest: negativeTest: true - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 64Mi\n cpu: 128m\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 64Mi\n cpu: 128m\n" + activeDeadlineSeconds: 60 \ No newline at end of file diff --git a/test/maven/executor-smoke/crd/crd.yaml b/test/maven/executor-smoke/crd/crd.yaml index ab896d5db2f..2e6d3117ea6 100644 --- a/test/maven/executor-smoke/crd/crd.yaml +++ b/test/maven/executor-smoke/crd/crd.yaml @@ -22,6 +22,7 @@ spec: value: "true" type: basic jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 256Mi\n cpu: 256m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -45,6 +46,7 @@ spec: value: "true" type: basic jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 256Mi\n cpu: 256m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -63,4 +65,5 @@ spec: path: examples/hello-maven-jdk18 executionRequest: negativeTest: true - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 256Mi\n cpu: 256m\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 256Mi\n cpu: 256m\n" + activeDeadlineSeconds: 60 \ No newline at end of file diff --git a/test/playwright/executor-tests/crd/crd.yaml b/test/playwright/executor-tests/crd/crd.yaml index e35835895c4..90a43f3d9c0 100644 --- a/test/playwright/executor-tests/crd/crd.yaml +++ b/test/playwright/executor-tests/crd/crd.yaml @@ -14,4 +14,5 @@ spec: branch: main path: test/playwright/executor-tests/playwright-project executionRequest: - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 2Gi\n cpu: 2\n" + activeDeadlineSeconds: 120 \ No newline at end of file diff --git a/test/soapui/executor-smoke/crd/crd.yaml b/test/soapui/executor-smoke/crd/crd.yaml index 0738d84f40a..2e939dd1e2b 100644 --- a/test/soapui/executor-smoke/crd/crd.yaml +++ b/test/soapui/executor-smoke/crd/crd.yaml @@ -15,6 +15,7 @@ spec: path: test/soapui/executor-smoke/soapui-smoke-test.xml executionRequest: jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 256Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 --- apiVersion: tests.testkube.io/v3 kind: Test @@ -33,4 +34,5 @@ spec: path: test/soapui/executor-smoke/soapui-smoke-test-negative.xml executionRequest: negativeTest: true - jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 256Mi\n cpu: 512m\n" \ No newline at end of file + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 256Mi\n cpu: 512m\n" + activeDeadlineSeconds: 60 \ No newline at end of file