From dcb7a1f9e0092cbd8e5ab378a7d7cc1ad7f390c4 Mon Sep 17 00:00:00 2001 From: Tomasz Konieczny Date: Fri, 6 Sep 2024 10:32:01 +0200 Subject: [PATCH] fix: workflow suites - missing workflows added (#5816) * workflow suites - missing workflows added * run script - missing special cases added --- test/cypress/executor-tests/crd-workflow/smoke.yaml | 2 +- test/k6/executor-tests/crd-workflow/smoke.yaml | 8 ++++---- test/scripts/executor-tests/run.sh | 3 +++ test/suites/test-workflows/cypress-workflow.yaml | 1 + test/suites/test-workflows/jmeter-workflow.yaml | 2 ++ test/suites/test-workflows/k6-workflow.yaml | 2 ++ test/suites/test-workflows/playwright-workflow.yaml | 1 + test/suites/test-workflows/postman-workflow.yaml | 1 + 8 files changed, 15 insertions(+), 5 deletions(-) diff --git a/test/cypress/executor-tests/crd-workflow/smoke.yaml b/test/cypress/executor-tests/crd-workflow/smoke.yaml index d969ace5334..3fdae48f0aa 100644 --- a/test/cypress/executor-tests/crd-workflow/smoke.yaml +++ b/test/cypress/executor-tests/crd-workflow/smoke.yaml @@ -327,7 +327,7 @@ spec: steps: - name: Run tests parallel: - maxCount: 3 + maxCount: 2 shards: testFiles: 'glob("cypress/e2e/**/*.js")' description: '{{ join(map(shard.testFiles, "relpath(_.value, \"cypress/e2e\")"), ", ") }}' diff --git a/test/k6/executor-tests/crd-workflow/smoke.yaml b/test/k6/executor-tests/crd-workflow/smoke.yaml index 22b88378739..ca3c637fef5 100644 --- a/test/k6/executor-tests/crd-workflow/smoke.yaml +++ b/test/k6/executor-tests/crd-workflow/smoke.yaml @@ -145,8 +145,8 @@ metadata: core-tests: workflows spec: config: - vus: {type: integer, default: 10} - duration: {type: string, default: '5s'} + vus: {type: integer, default: 2} + duration: {type: string, default: '2s'} workers: {type: integer, default: 3} content: git: @@ -189,8 +189,8 @@ metadata: core-tests: workflows spec: config: - vus: {type: integer, default: 10} - duration: {type: string, default: '5s'} + vus: {type: integer, default: 2} + duration: {type: string, default: '2s'} workers: {type: integer, default: 3} content: git: diff --git a/test/scripts/executor-tests/run.sh b/test/scripts/executor-tests/run.sh index 7fa1eb956d7..a76987463e7 100755 --- a/test/scripts/executor-tests/run.sh +++ b/test/scripts/executor-tests/run.sh @@ -539,6 +539,7 @@ main() { postman-smoke playwright-smoke soapui-smoke + workflow-artillery-smoke workflow-cypress-smoke workflow-gradle-smoke workflow-jmeter-smoke @@ -547,6 +548,7 @@ main() { workflow-playwright-smoke workflow-postman-smoke workflow-soapui-smoke + workflow-special-cases-failures ;; smoke) artillery-smoke @@ -596,6 +598,7 @@ main() { workflow-playwright-smoke workflow-postman-smoke workflow-soapui-smoke + workflow-special-cases-failures ;; workflow-special) workflow-special-cases-failures diff --git a/test/suites/test-workflows/cypress-workflow.yaml b/test/suites/test-workflows/cypress-workflow.yaml index 33be918e1ac..9cdc2ea7c3e 100644 --- a/test/suites/test-workflows/cypress-workflow.yaml +++ b/test/suites/test-workflows/cypress-workflow.yaml @@ -17,4 +17,5 @@ spec: - name: cypress-workflow-smoke-13-template-sub-step - name: cypress-workflow-smoke-12.7.0 - name: cypress-workflow-smoke-13-junit-report + - name: distributed-cypress-workflow-smoke-13 - name: cypress-workflow-smoke-matrix diff --git a/test/suites/test-workflows/jmeter-workflow.yaml b/test/suites/test-workflows/jmeter-workflow.yaml index 72b0651ac85..e36c43faf53 100644 --- a/test/suites/test-workflows/jmeter-workflow.yaml +++ b/test/suites/test-workflows/jmeter-workflow.yaml @@ -12,3 +12,5 @@ spec: - name: jmeter-workflow-smoke - name: jmeter-workflow-smoke-shell-artifacts - name: jmeter-workflow-smoke-from-template + - name: distributed-jmeter-workflow-smoke + - name: distributed-jmeter-workflow-smoke-shell-artifacts diff --git a/test/suites/test-workflows/k6-workflow.yaml b/test/suites/test-workflows/k6-workflow.yaml index 8fba8eb27e1..1698e3c5ad7 100644 --- a/test/suites/test-workflows/k6-workflow.yaml +++ b/test/suites/test-workflows/k6-workflow.yaml @@ -13,3 +13,5 @@ spec: - name: k6-workflow-smoke-template - name: k6-workflow-smoke-template-without-checkout-step - name: k6-workflow-smoke-artifacts + - name: distributed-k6-workflow-smoke + - name: distributed-k6-workflow-smoke-artifacts diff --git a/test/suites/test-workflows/playwright-workflow.yaml b/test/suites/test-workflows/playwright-workflow.yaml index f1ba8de27df..4374c3a7a84 100644 --- a/test/suites/test-workflows/playwright-workflow.yaml +++ b/test/suites/test-workflows/playwright-workflow.yaml @@ -14,3 +14,4 @@ spec: - name: playwright-workflow-smoke-v1.32.3-shell - name: playwright-workflow-smoke-artifacts-double-asterisk - name: playwright-workflow-smoke-template + - name: distributed-playwright-workflow-smoke-artifacts diff --git a/test/suites/test-workflows/postman-workflow.yaml b/test/suites/test-workflows/postman-workflow.yaml index 44f1510ffa8..051ebaa2d0d 100644 --- a/test/suites/test-workflows/postman-workflow.yaml +++ b/test/suites/test-workflows/postman-workflow.yaml @@ -7,6 +7,7 @@ metadata: spec: steps: - execute: + parallelism: 2 workflows: - name: postman-workflow-smoke - name: postman-workflow-smoke-without-envs